Closing a socket.

Sergei Organov osv at topconrd.ru
Thu May 12 08:37:15 UTC 2005


Chris Johns <chrisj at rtems.org> writes:
[...]
> The rule I use is any thread that makes networking calls deletes
> itself.

IMHO, the rule should be: "any thread may delete only itself", otherwise
it's too hard if not impossible to guarantee program state consistency.

-- 
Sergei.




More information about the users mailing list