lkml.org 
[lkml]   [2000]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectfoo vs task_struct and kernel timers?
Hi guys,

I noticed the difference in schedule_timeout() between test1-ac18 (which I
run) and Linus test3-pre2 (which I read) and Linus' version uses the
foo_struct to handle the wakeup when the timeout expires - basically, the
difference is that a call to timer_exit(timer) is made by
process_timeout().

Anyone understands which way is the correct one? Is the AC version going
to be migrated into Linus' or not? I.e. should one generally call
timer_exit() on the timer in the timer's handler function?

Regards,
Tigran


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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