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

RE: [rtl] protect



Where can I find the docs for mutex in RTLinux?

> -----Original Message-----
> From:	yodaiken@fsmlabs.com [SMTP:yodaiken@fsmlabs.com]
> Sent:	Thursday, April 13, 2000 8:10 AM
> To:	Stuart Hughes
> Cc:	liangjiangang@netease.com; rtl@rtlinux.org
> Subject:	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.
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/