Closed dorianj closed 13 years ago
Re-writing this to use semaphore.c. Please ignore for time being.
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).
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.-