lkml.org 
[lkml]   [2003]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] assorted changes to atm protocol stack
Date
From
> 	vcc->local = *addr;
> vcc->reply = WAITING;
>- add_wait_queue(&vcc->sleep,&wait);
>- sigd_enq(vcc,as_bind,NULL,NULL,&vcc->local);
>+ add_wait_queue(&vcc->sleep, &wait);
>+ sigd_enq(vcc, as_bind, NULL, NULL, &vcc->local);
> while (vcc->reply == WAITING && sigd) {
> set_current_state(TASK_UNINTERRUPTIBLE);
> schedule();
> }
>- remove_wait_queue(&vcc->sleep,&wait);

forgot to ask but i imagine that the add_wait_queue() and remove_wait_queue()
should probably be converted to prepare_to_wait() and finish_wait()?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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