I've been poking around with how AOLserver handles ns_threads and wanted to
raise the questions pertaining to memory leaks.
>From the pthread_create man page...
A thread may either be *joinable* or *detached*. If a thread is joinable, then
> another thread can call pthread_join(3)
> <http://www.kernel.org/doc/man-pages/online/pages/man3/pthread_join.3.html>
> to wait for the thread to terminate
> and fetch its exit status. *Only when a terminated joinable thread
> has been
> joined are the last of its resources released back to the system.*
>
>
Does this mean that if I don't use ns_thread join, the resources and tcl
interpreter of the thread spawned by ns_thread begin will not get released?
If someone would kindly definitively answer this for me, that would be well
appreciated.
Regards.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk