[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rtems_semaphore_obtain
- Date: Thu, 29 Mar 2007 19:36:01 +0200
- From: jiri at gaisler.com (Jiri Gaisler)
- Subject: rtems_semaphore_obtain
I suggest that you try this version:
ftp://gaisler.com/gaisler.com/rcc/src/rtems-4.6.5-1.0.14.tar.gz
There was a patch against too early irq enabling some time ago.
I remember it was initially provided by Saab, so you should be
aware of it...?
Jiri.
Sergei Organov wrote:
> "Johan Zandin" <johan.zandin at space.se> writes:
> [...]
>> _Context_Switch( &executing->Registers, &heir->Registers );
>>
>> executing = _Thread_Executing;
>>
>> _ISR_Disable( level ); -----+
>> | Region where
>> } | an occuring
>> | interrupt
>> _Thread_Dispatch_disable_level = 0; | causes problems
>> |
>> _ISR_Enable( level ); -----+
>
> But how interrupt can occur when it's disabled in this region?! If
> _ISR_Disable()/_ISR_Enable() don't work on your target, you have hard
> trouble anyway.
>
> -- Sergei.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
>