Re: Gettask

Cesare Pizzi (cpizzi@globalnet.it)
Sun, 15 Feb 1998 14:17:08 +0100


Randolph Bentson wrote:

> It seems you have to preserve some state information to implement
> the last function. I suggest you change this last to
> getnexttaskid(TaskID) This call return the next PID
> after TaskID
> to avoid race conditions which could occur when two processes
> are invoking the same sequence of calls.
>

I was already working on a solution for this problem. I think your idea
is very good. In this way I don't have to modify other kernel
structures. Thanks a lot!

I'll modify my implemenattion, and I'll post it again, if someone is
interested in it.

Thanks again.

Kind regards,

Cesare

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu