[rtems commit] posix: Use right thread dispatch disable function

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Apr 24 18:10:43 UTC 2015


----- Gedare Bloom <gedare at gwu.edu> schrieb:
> Why do we have these two functions with similar names and commented to
> have the same functionality? 

They have different commments, but yes the naming is not that brilliant.

> If one is for SMP and the other for UP,
> should they be unified or is there a good reason to have separate
> functions?

One acquires the Giant lock and the other not.  In the long run _Thread_Disable_dispatch() and _Thread_Enable_dispatch() will go away (= Giant lock removed).

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list