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.
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.
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.