[Top][All Lists]

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

Re: Concerning pthreads and such

From: Thomas Thomas
Subject: Re: Concerning pthreads and such
Date: Fri, 20 Jul 2012 08:17:56 -0700 (PDT)

>So far so good.  I see you've renamed hurd_condition_wait in most places
>but did you move the actual definition as well?  I am getting undefined
>references to hurd_cond_wait.

No, I didn't, and that is the problem. The original hurd_condition_wait
is in libthreads. That is the most natural place for it to be, as it is
a modified form of condition_wait, and relies on the internals of a
condition type. The most natural place for hurd_cond_wait to be is in
pthreads, and right now the source expects pthreads to provide it. The
only other solution I can think of is creating a libhurdcancellation 
that contains copies of all of the internal parts of pthreads that are 
needed to allow this one function to be compiled.

This is one of the issues that makes compilation a pain,

Thomas D

reply via email to

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