[runtime] add initial changes to support cygwin
pthread_mutex_timedwait is not supported on cygwin, so
an alternate implementation of UMLRTMutex is required.
This version has manifested two known problems to date:
1. Bug 469428: On Linux, deadlock appeared to occur, resulting in
two threads waiting on the UMLRTMutexGuard associated with the
RTS global lock mutex - one thread while giving the global lock,
one thread while taking the global lock.
2. Bug 469429: On Windows, (cygwin version) the rts-computer test
model crashes shortly after de-registering the ComputerStatus
Signed-off-by: Barry Maher <email@example.com>
4 files changed