Best Regards - DanieleThank you in advance,Is this a thread-safe operation in your opinion? or do I need to synchronize each setAttribute() in some way?Now I need to perform a node.setAttribute() from each thread.Each thread owns a node object. Node objects are chosen by each thread at random from a LinkedBlockingQueue. No more than one thread can choose the same node, since we delete an already chosen node from LinkedBlockingQueue in an atomic way.Hi list,I need to set nodes' attributes from a number of concurring threads.
Archives gérées par MHonArc 2.6.16.