On Thu, Oct 24, 2002 at 04:19:48AM +0200, Vicente Hernando Ara wrote: > I am changing the Hurd code from cthreads to pthreads.
Goodie. > * 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? The reason for the name change is to avoid conflicts with the Linux code we glue to. Whatever works for that is fine, so please find a solution with that in mind. > * 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? We need an implementation for hurd_condition_wait in pthreads. This whole cancellation thign is quite complicated, see discussion on hurd-devel. Thanks, Marcus _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd