Re: help!!!!

Richard Dynes (rdynes@sun1.varcom.com)
Mon, 12 Jul 1999 15:16:09 +0000


"Richard B. Johnson" wrote:
>
> On Sun, 11 Jul 1999, Scott Manley wrote:
> [SNIPPED]
>
> >
> > /* wait queue */
> > static struct wait_queue *lwait = 0;
> ^^^^^^^
> This is a pointer, not the whole
> structure.
>
> [SNIPPED]
> > module_interruptible_sleep_on(&lwait);
> ^^^^^^^
>

And that is the way it's supposed to be.

see ./kernel/sched.c:

void interruptible_sleep_on(struct wait_queue **p)

-Richard

-- 
    Richard Dynes
    rdynes@varcom.com

- 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/