On 10.05.2008, at 06:13, Andrew Piskorski wrote:
> On Fri, May 09, 2008 at 06:06:05PM +0200, Vasiljevic Zoran wrote:
>
>>> I saw somewhere that Lua can have global and per-thread state
>>> and that you can provide your own locking primitives they use
>>> to lock their own code, but I haven't dig
On 09.05.2008, at 20:44, Vasiljevic Zoran wrote:
> What MIGHT work is kind of this: create some numbers of
> fully loaded interps, each sitting in its own thread.
> A compute-farm, so to say. Then every other thread just
> creates a slave interp in one of those and runs all its
> scripts in his p
patched, submitted. Thanks
Daniel Stasinski wrote:
> Here is an interesting one that has been broken since AOLserver 4.0.
>
> In hosts.allow, you can use either a full or partial hostname, or
> ipaddr/netmask. Not all work.
>
> 192.168.0.10/255.255.255.255 <- Gives error "Invalid address or
>
On 10.05.2008, at 06:23, Andrew Piskorski wrote:
> So you probably have 10 MB or so of proc definitions, which are 95+%
> or even 100% identical in every thread, but Tcl keeps a completely
> separate 10 MB copy in each and every thread. What you really want is
> to just have a single read-only 1
On 10.05.2008, at 17:50, Vasiljevic Zoran wrote:
> I think
> it is the most one can do with Tcl.
Hm ... not that bad consider the
trivialiy of the example.
package req Thread
set tp [tpool::create -initcmd {
proc sayhello args {
return hello-[thread::id]
}
}]
proc unknown
What will happen if 100 threads will send commands at the same time and
those commands will be more complicated, not just return?
Main thread will serialize them, i guess.
Does not it seems like global lock in Lua?
Will it scale the way you want it to scale?
Vasiljevic Zoran wrote:
> On 10.05.20
You may also check out SpiderMonkey javascript. It is thread safe and
runtime is not very big.
Vasiljevic Zoran wrote:
> On 10.05.2008, at 06:13, Andrew Piskorski wrote:
>
>> On Fri, May 09, 2008 at 06:06:05PM +0200, Vasiljevic Zoran wrote:
>>
I saw somewhere that Lua can have global and pe
On 10.05.2008, at 18:15, Vlad Seryakov wrote:
> What will happen if 100 threads will send commands at the same time
> and
> those commands will be more complicated, not just return?
>
> Main thread will serialize them, i guess.
> Does not it seems like global lock in Lua?
> Will it scale the wa
Hi !
In the process of a spring-cleanup I wanted to attack
the gobal sample-config.tcl file that we deliver
with the server. The purpose of that file is obviously
dual:
o. get a config file people can start with
o. declare and document each and every config option
As it seems, we fail to mee
On Sat, May 10, 2008 at 8:32 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
> patched, submitted. Thanks
I just committed it to aolserver cvs also.
Daniel
--
| ---
| Daniel P. Stasinski | http://www.saidsimple.com
| [EMAIL PROTECTED] | h
Do you need write access to naviserver CVS?
Daniel Stasinski wrote:
> On Sat, May 10, 2008 at 8:32 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
>> patched, submitted. Thanks
>
> I just committed it to aolserver cvs also.
>
> Daniel
>
--
Vlad Seryakov
[EMAIL PROTECTED]
http://www.crystalballin
On Sat, May 10, 2008 at 12:33 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
> Do you need write access to naviserver CVS?
That would be great. Thank you.
Daniel
--
| ---
| Daniel P. Stasinski | http://www.saidsimple.com
| [EMAIL PROTEC
Added
Daniel Stasinski wrote:
> On Sat, May 10, 2008 at 12:33 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
>> Do you need write access to naviserver CVS?
>
> That would be great. Thank you.
>
> Daniel
>
--
Vlad Seryakov
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/
-
If you want to work on that take a look on nsconf module, i tried to
collect all config options with small description there. Could be a
starting point for the man page.
Vasiljevic Zoran wrote:
> Hi !
>
> In the process of a spring-cleanup I wanted to attack
> the gobal sample-config.tcl file t
On Sat, May 10, 2008 at 05:50:42PM +0200, Vasiljevic Zoran wrote:
> Since some years I've been trying various approaches how to tackle
> this problem but I really found no realy good and universal way.
> I believe there isn't one, after all those years. I will try just this
No, I believe that the
15 matches
Mail list logo