[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cthreads to Pthreads code.

From: James Morrison
Subject: Re: Cthreads to Pthreads code.
Date: Wed, 23 Oct 2002 20:40:15 -0700 (PDT)

--- Vicente Hernando Ara <address@hidden> 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_create, the START_ROUTINE is a function
that can return a void*, it is not a cthread_fn_t.  See boot.c:~701.  Is there
any reason to keep casting START_ROUTINE and ARGS for thread creation?

James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op

Anyone referring to this as 'Open Source' shall be eaten by a GNU

Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site

reply via email to

[Prev in Thread] Current Thread [Next in Thread]