Split semaphore classes into Semaphore and NamedSemaphore
Semaphore is implemented with Grand Central Dispatch
NamedSemaphore uses the spin lock approach like in boost for sem_timedwait
sem_getvalue is not supported on MacOS and therefore was removed
Fixed bug (*gatewayaddress_len > 0) in MQTTSNSearchClient.c
Signed-off-by: Jochen Wilhelmy <jochen.wilhelmy@gmail.com>
If it does not start, do not create an instance of ClientProxy.
Change the name of ClientProxy to QoSm1Proxy
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
Parameters are additional include and lib directories for future useage.
e.g. make INCLUDE="-I/foo" LIB="-L/bar"
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>