Hi,
I'm attempting to move some code into a persistent thread but I've come across a problem that calling qurt_timer_sleep() appears to hang if another thread has called qurt_thread_join() on the current thread. The result is that the current thread never exits, and the joining thread never returns from join(). Has anyone experienced this?
I'm only calling sleep in an attempt to simulate the behavior of a timeout with a qurt_sem_try_down(). I have a semaphore that is used to signal a shutdown request from one thread to another, and qurt_sem_up() is called right before qurt_thread_join(). Is there a better way to do this?
Thanks,
Adam