lkml.org 
[lkml]   [1998]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 8 Dec 1998 08:12:34 +0100 (MET)
FromGabor Kuti <>
SubjectRe: bh order preserved?
On Mon, 7 Dec 1998, Frank Sweetser wrote:

> if i queue up several bottom half handler functions, are they guaranteed to
> be executed in the same order in which they were queued up? ie, if i do
>
> queue_task(&first_queue, &tq_immediate);
> queue_task(&second_queue, &tq_immediate);
No, they are actually called in reverse order. The new item is inserted
_before_ the current list..
So first second_q, second first_q comes..
look in include/linux/tqueue.h...

Seasons
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
"One who has time to complain has time to submit patches." <chinese proverb>
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



-
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:45    [from the cache]
©2003-2010