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.