[Openmcl-devel] Managing multi-threaded access to list

David L. Rager ragerdl at cs.utexas.edu
Sun May 28 18:43:58 PDT 2006


>   Furthermore, is there any need to destroy semaphores when the
> connection goes away? Are they a limited OS resource?

Semaphores are a limited OS resource, but their allocation doesn't slow down
significantly until you create 20,000 or so.  I just pushed 200,000 on a
stack for fun.  

1 semaphore is a non-issue.




More information about the Openmcl-devel mailing list