FreeRDP / FreeRDP-old

DEPRECATED VERSION - Check https://github.com/FreeRDP/FreeRDP : FreeRDP is a free remote desktop protocol client
http://www.freerdp.com
Apache License 2.0
80 stars 883 forks source link

libfreerdp-chanman: use platform independent semaphores #56

Closed dorianj closed 13 years ago

dorianj commented 13 years ago

old description follows: -libchanman.c used semaphores to synchronize writing of data to stream. However, these were value-1, logically equivilant to mutexes. Because Mac OS X doesn't support unnamed semaphores, it is reasonable and beneficial to simply replace these semaphores with mutexes. This makes rdpdr work on OS X, when it previously didn't, and works fine on Linux.-

dorianj commented 13 years ago

Re-writing this to use semaphore.c. Please ignore for time being.

dorianj commented 13 years ago

Should be OK to merge now.

New commits use the platform-independent semaphores in utils, and works on mac (and uses the same unnamed semaphores on non-Apple to preserve compatibility with older releases).