[Win32] Implement events shutdown in lieu of pipes
authorDavid Antler <david.a.antler@intel.com>
Tue, 2 Feb 2016 00:50:39 +0000 (16:50 -0800)
committerDavid Antler <david.a.antler@intel.com>
Fri, 27 May 2016 17:51:47 +0000 (17:51 +0000)
commit33a0e802c8c570c7b67902cdc8cee75a1f939e10
treee60961f5fe497e54797d86492ac8cacb96cacc29
parent6012fb7e42505a72259a3bef64e46c9efdf3b688
[Win32] Implement events shutdown in lieu of pipes

Windows is not able to select() for read on unnamed pipes.  Move to an
event-based scheme where signaling can come from a shutdownEvent or
readable data on a socket.

Included some clean-up of preprocessor macros.

Change-Id: I7db3235a6c870c97c9c317f833f2d8682fd9ce70
Signed-off-by: David Antler <david.a.antler@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5521
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
resource/csdk/connectivity/api/cacommon.h
resource/csdk/connectivity/src/ip_adapter/caipserver.c