Hi Yoann, > - Ability to disable specific backend on demand: some implementation use > certain functionality that are incompatible with libpth, or depend on > library that provide pthread support but no libpth support. As a result, > it would be great if it was possible to explicitly disable a given > backend.
I think you can effectively already do it. Like this: gl_LOCK if test $gl_threads_api = pth; then AC_FATAL([The pth threads implementation is not supported by this package.]) fi > - Implement support for condition variable. You are welcome to contribute a module for this. > - Implement support for thread creation. Likewise. You find some code for this purpose at the top of tests/test-lock.c, which you may be able to reuse. > What about function that does not have an equivalent under certain > backend (example: no support for condition timeout with libpth). Enhancement request to Ralf Engelschall? :-) Bruno