> > Conditional variables seem to be more portable
>
> Really? Which standard are they specified in?
POSIX - they are in pthread library (eg man pthread_cond_init).
For sem_init I see in man (on Solaris and AIX):
ENOSYS The sem_init() function is not supported
what is exactly I've got on AIX.
Vadim