Anyone using ACE with RTEMS?

Vladimir Nesic vnesic at dkts.co.yu
Fri Nov 22 10:33:58 UTC 2002


On Thursday 21 November 2002 02:10, Phil Torre wrote:
> first thing ACE does is create a POSIX condition variable, and then
> does a pthread_cond_wait() on it with no other threads running.  

Check the way conditional variable is initiated. If it is:

	pthread_cond_t cv = PTHREAD_COND_INITALIZER;

it wont work (at least it doesn't for me). Try to change it to:

	pthread_cond_t cv;
	pthread_cond_init(&cv,0);

This should work.

Vlada




More information about the users mailing list