-
Notifications
You must be signed in to change notification settings - Fork 742
RPC Threading
Kevin Lyda edited this page Feb 16, 2014
·
3 revisions
How to use protobuf-c's RPC in a Multithreading Environment
protobuf-c's RPC was designed with "main-loop" style concurrency -- meaning we can handle multiple connections, but we handle them by multiplexing on I/O (in the form of file descriptors), rather than spawning new threads.
Currently there are many restrictions for using RPC with multiple threads, but it can be done. There are also things we wish to do eventually, if they can be done pretty cleanly.
...
...
...
- blocking client
- ...