rtems_semaphore_obtain

Jiri Gaisler jiri at gaisler.com
Thu Mar 29 17:36:01 UTC 2007


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
> 
> 



More information about the users mailing list