synchronize cond var destruction with exiting waits
[musl] / crt / crti.c