mirror of https://github.com/wolfSSL/wolfssh.git
macOS uses GCD for threading and semaphores, but they aren't quite like POSIX semaphores. macOS allows the use of named POSIX semaphores. 1. Convert the semaphores to named POSIX semaphores. 2. Simplify all calls for semaphores into single function calls of the wrapper API. 3. Update both examples/client/client.c and apps/wolfssh/wolfssh.c. 4. Update both to deregister the WINCH signal. |
||
|---|---|---|
| .. | ||
| client.c | ||
| client.h | ||
| common.c | ||
| common.h | ||
| include.am | ||