Re: [patch] threading fix, tid-2.5.47-A3

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Sun Nov 17 2002 - 15:44:51 EST


> Instead let the user initialize the memory location the clone call is
> supposed to write in with zero. if the value didn't change the
> user-level code can detect the error and handle appropriately.

Does that work? Zero is also read if the child was created, did
something, and exited with CLEARTID.

You can initialise it with -1, though.

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



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:19 EST