Hi Yoann,

> Attached is an initial implementation of the glcond module, based on
> your lock module. 

I like about it that its API is in the same spirit as 'lock' and 'tls'.

A unit test and a Woe32 implementation are still missing.

The prefix 'gl' for the module and header file is probably unnecessary:
most modules are gnulib modules anyway, and if the header was called "cond.h",
there would not be much risk of collision either.

The comments still talk about "Locking" and me as the author.

I would also mention in a comment the distinction between "condition variable"
and "wait queue" done in [1].

Bruno


[1] http://www.helenos.eu/doc/design/html.chunked/sync.html#id2531858



Reply via email to