On Mon, 2002-03-18 at 19:28, Rusty Russell wrote:
> What do you WANT in a kernel primitive then? Given that we now have mute=
xes,
> what else do we need to make pthreads relatively painless?
I think wrt to the mutexes only wake-all is missing. I don't think that
semaphore semantic is needed in the kernel.
> Look, here is an example implementation. Please suggest:
> 1) Where this is flawed,
> 2) Where this is suboptimal,
> 3) What kernel primitive would help to resolve these?
I'll look at this a bit later.
--=20
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
--=-X0SC+Xq0obMic1jWcTOl
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA8lrkC2ijCOnn/RHQRAlmAAKCFCfLE8PViVZ7PLJbVi655M6NBugCfWrWs
Ffwv34UNO8d2D4fJxOEKcXs=
=zRE8
-----END PGP SIGNATURE-----
--=-X0SC+Xq0obMic1jWcTOl--
-
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/