Skip to contentSkip to conversation

set_current_state(); vs current->state = bla;

DISCUSSION Marc-Christian Petersen 2 participants 2 messages Jan 1, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

$subject says it all. Is there _any_ reason why not to use set_current_state?

ciao, Marc

#1 lore raw
Quoted 1 line · Marc-Christian Petersen

$subject says it all. Is there _any_ reason why not to use set_current_state?

If you do not need the memory barrier... but then you can use __set_current_state().

So, no, we should not open code this ever.

Robert Love