[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Anyone using ACE with RTEMS?



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