[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] protect
On Thu, Apr 13, 2000 at 10:54:33AM +0100, Stuart Hughes wrote:
> You need to use a mutex. Under RTAI you can use the conventional
> pthread_mutex_lock and pthread_mutex_unlock. As always, be very careful
> with your design as mutex_lock, could easily be mutex_deadlock :-)
pthread_mutex is in RTLinux.
--
---------------------------------------------------------
Victor Yodaiken
FSMLabs: www.fsmlabs.com www.rtlinux.com
FSMLabs is a servicemark and a service of
VJY Associates L.L.C, New Mexico.