Re: Cthreads to Pthreads code.

2002-10-24 Thread Marcus Brinkmann
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

Re: Cthreads to Pthreads code.

2002-10-24 Thread Marcus Brinkmann
On Thu, Oct 24, 2002 at 09:21:54AM +0200, Niels Möller wrote: > Vicente Hernando Ara <[EMAIL PROTECTED]> writes: > > > * 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: initializ

Re: Cthreads to Pthreads code.

2002-10-24 Thread Niels Möller
Vicente Hernando Ara <[EMAIL PROTECTED]> writes: > * 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 = PTHR

Re: Cthreads to Pthreads code.

2002-10-23 Thread James Morrison
--- Vicente Hernando Ara <[EMAIL PROTECTED]> wrote: > 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 ;) > > Thanks, > Vicente. (aka: zenton in #hurd) Cool, but watch out for pthread_c

Cthreads to Pthreads code.

2002-10-23 Thread Vicente Hernando Ara
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. Th