Creating thread dynamically in a thread pool
prdpsbhat at gmail.com
Tue Nov 30 16:04:00 UTC 2010
Yeah, for 1000 threads that is ok. But what is the case if the thread size is
that is an example i mentioned but the problem here is to create threads
dynamically based on certain criteria. :)
Ivan Voras-7 wrote:
> On 11/30/10 08:39, p4ddy wrote:
>> Hi all,
>> Here is the story.
>> I m handling threads for some server. maxThreadPoolSize is given as 1000
>> obviously creating 1000 threads not only takes time but also huge
> Obviously I don't know what your particular constraints are, but
> creating 1000 threads takes a few milliseconds and produces a process
> with resident size of 25 MB and a VM size of 135 MB. (on amd64)
> It could well be that those are huge resources for you, I don't know :)
> freebsd-threads at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
View this message in context: http://old.nabble.com/Creating-thread-dynamically-in-a-thread-pool-tp30337545p30340939.html
Sent from the freebsd-threads mailing list archive at Nabble.com.
More information about the freebsd-threads