Thin Lock Implementation
Lars Ivar Igesund
larsivar at igesund.net
Tue Aug 19 02:50:02 PDT 2008
Aarti_pl wrote:
> Bartosz Milewski pisze:
>> I posted some implementation details of Thin Lock in my blog,
>> http://bartoszmilewski.wordpress.com/ . I would appreciate comments.
>>
>> And by the way, I put it on reddit too:
>> http://www.reddit.com/comments/6wmq4/thin_lock_implementation/ .
>>
>> Bartosz
>
> Well, I am definitely no concurrency expert, but one questions bothers
> me a bit.
>
> From your article it seems that there will be limit of 2046 threads for
> program (11 bits, one based).
>
> Isn't it too small number, taking into account multi core processors
> which will emerge (able to start much more threads than currently), and
> applications like web servers (which serves a lot of concurrent
> connections)?
>
> BR
> Marcin Kuszczak
> (aarti_pl)
2046 isn't a particularly small number, in fact most OS'es aren't set up to
allow more than 500-1000 depending on available memory.
However, I agree that it should not restrict _more_ than the OS where a
larger number is available.
--
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango
More information about the Digitalmars-d
mailing list