[lkml]   [2000]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectset_current_state() vs current->state
Hello all,
I've been going through the drivers/block code (almost done) and noticed the use of, eg.:
set_current_state(TASK_RUNNING); and also
current->state = TASK_RUNNING;

Which one is most recent, and is there a suggestion on which one to use?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:39    [W:0.030 / U:1.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site