pthread_spin_lock as per POSIX - but it also disables interrupts.
Don't use the Linux spin-locks! You may stil get the NMI watchdog if you hold it too long - but that's really long. On Tue, Jul 23, 2002 at 10:12:58AM -0500, [EMAIL PROTECTED] wrote: > Are spin locks supported under RTLinux? The reason I ask > is when I use spin_lock_irqsave() in an RT task it produces > the error "NMI Watchdog detected LOCKUP on CPU1" > > Just wondering if I'm using the function inappropriately > or if it's just not supported under RTLinux. > > Thanks! > > --- > Brian Rivers > Computer Engineer > Redstone Technical Test Center > (256) 313-8043 > > -- --------------------------------------------------------- Victor Yodaiken Finite State Machine Labs: The RTLinux Company. www.fsmlabs.com www.rtlinux.com -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/