snayagar / protobuf-remote

Automatically exported from code.google.com/p/protobuf-remote
0 stars 0 forks source link

Porting C++ part to *nix #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is a need to have Linux and Mac OS X versions of protobuf-remote C++ part.

Original issue reported on code.google.com by v...@eq.by on 23 Nov 2011 at 10:23

GoogleCodeExporter commented 9 years ago
What is a preferred way to implement this so that it could be included back in 
the main source tree? Boost? #ifdefs with POSIX calls?

Original comment by v...@eq.by on 23 Nov 2011 at 10:24

GoogleCodeExporter commented 9 years ago
I would prefer POSIX calls, so that Boost can remain optional.

The only parts with Win32 code are the event in PendingCall and nearly all of 
SocketRpcChannel. PendingCall can just have an #ifdef. SocketRpcChannel might 
need a lot of changes, as it uses threads, events, mutexes, interlocked 
instructions, and WinSock. So maybe having separate implementations would be 
the way to go, something like SocketRpcChannel_win32.cpp and 
SocketRpcChannel_posix.cpp.

Original comment by niallr...@gmail.com on 23 Nov 2011 at 10:25

GoogleCodeExporter commented 9 years ago

Original comment by niallr...@gmail.com on 5 Dec 2011 at 12:06

GoogleCodeExporter commented 9 years ago
Was there any progress on this?

Original comment by StuntB...@gmail.com on 14 Dec 2011 at 1:16