Re: [eq-dev] co::Node

3 views
Skip to first unread message

Stefan Eilemann

unread,
Jun 1, 2013, 3:54:15 AM6/1/13
to eq-...@equalizergraphics.com

On 31. May 2013, at 23:09, "rarum [via Software]" <ml-node+s171...@n2.nabble.com> wrote:

> Is co::Node , co::LocalNode, eq::Node multithread save? (save per thread) or I must use lunchbox::Lock when I am using that in threads ?

All operations are thread-safe when using different instances. Some operations are thread-safe on a single instance and are documented in the API documentation. For all others it's safer to assume they are not thread-safe, even though some are. We in doubt, ask here.


Cheers,

Stefan.

--
http://www.eyescale.ch
https://github.com/Eyescale/
http://www.linkedin.com/in/eilemann








--
View this message in context: http://software.1713.n2.nabble.com/co-Node-tp7583322p7583323.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Stefan Eilemann

unread,
Jun 3, 2013, 4:17:28 AM6/3/13
to eq-...@equalizergraphics.com

On 2. Jun 2013, at 20:53, "rarum [via Software]" <ml-node+s171...@n2.nabble.com> wrote:

> I am interesting on only two metods of class co::NodePtr -> isConnected() and send( co::CMD_NODE_CUSTOM )<<"lama" Are there metods thread save ?

Yes they are thread safe, although the node may get disconnected between the two calls.


Cheers,

Stefan.





--
View this message in context: http://software.1713.n2.nabble.com/co-Node-tp7583322p7583329.html
Reply all
Reply to author
Forward
0 new messages