I would use pthread_cond_timedwait in windows ce.
I have just compiled and linked the library for windows ce.
I create a routine that calc timespec struct. The routine increase 1 sec
Routine blocks on this function (pthread_cond_timedwait) and don't
Routine is from tests/condvar2.c
Compiler: visual studio for ARM.