Therefore, as long as threads take care to not access the same ref, everything is safe. OCTOPUSSY is fine, since messages are delivered by placing a new ref in each WPs queue, so a threaded WP always works with its own ref.

For multithreaded MeqTrees, the following considerations apply:

However, if we allow a separate control thread with access to node state, etc., the following considerations apply:

OlegSmirnov/CountedRefsAndThreadSafety (last edited 2005-12-15 17:10:23 by OlegSmirnov)