Jun 13, 2013 at 12:06pm UTC
I'm wondering if there is a library for C++ that supports threading over the network, maybe with a threading pool and a specific protocol; or if there is just a de-facto protocol for doing threading over the network.
Jun 13, 2013 at 12:10pm UTC
What do you mean by threading over the network?
Jun 13, 2013 at 12:15pm UTC
sending threads/having_workers on machines different than the local/master machine that are connected over a network via TCP/IP
Jun 13, 2013 at 1:30pm UTC
Aren't they just concurrent connections to server(s)?
Jun 13, 2013 at 1:42pm UTC
connected ? yes. But how to keep them in sync and send acknowledge signals ? What about if a machine disconnects ? You need a protocol to handle all this kind of scenario.
I basically would like to use threads on any available machine connected to a network.
Jun 13, 2013 at 2:01pm UTC
I know that, that's why I'm asking if there are solutions that can combine both threading and networking in C++ .
Jun 13, 2013 at 2:39pm UTC
The contention would happen at the server end, not the client. Your threads would just block until the server replied, so I'm not clear where client side locking comes into it.
Jun 13, 2013 at 10:35pm UTC
Have a look at a product called Condor. It allows you to execute tasks remotely.