Hi all! I am changing the Hurd code from cthreads to pthreads.
There will be some patches at http://es.gnu.org/~zenton/Pthread (there are few now ;) I wanna ask for help on the following issues: * In pfinet code appear __mutex_lock and __mutex_unlock functions, instead mutex_lock and so. This functions are defined in glibc. Should I change pfinet code to pthread_mutex_lock and pthread_mutex_unlock anyway? * hurd_condition_wait, this function: /* Just like condition_wait, but cancellable. Returns true if cancelled. */ Is this behavior similar to pthread_cond_wait? Is it best to change hurd_condition_wait internals to posix functions? * This last is an error I get in exec.c file. static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; This trigger an error when compiling: exec.c:1382: initializer element is not constant however: pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; compiles ok. Why is that? Thanks, Vicente. (aka: zenton in #hurd) _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd