Unfortunately the code does not function that way on my machine. The code
contrary to Brian's snipe is mine and was used in a demo of pthreads for my
class. It works fine under multiple version of Unix and Linux but does not
work on my Windows XP Pro machine under cygwin. What I get is the foll
I tried compiling this, and it failed with:
$ make lab4_1
gcc lab4_1.c -o lab4_1
lab4_1.c:13:32: ../inc/local_mutex.h: No such file or directory
lab4_1.c:49: error: `PTHREAD_COND_INITIALIZER' undeclared here (not in a functio
n)
lab4_1.c:50: error: `PTHREAD_MUTEX_INITIALIZER' undeclared here
On Mon, Oct 11, 2004 at 02:51:08PM +0100, Dave Korn wrote:
>> -Original Message-
>> From: cygwin-owner On Behalf Of gmiller
>> Sent: 09 October 2004 19:49
>
>>I have a sample thread application that runs under Ferdora Core 2
>>latest but exits on an error condition under cygwin. If I add s
> -Original Message-
> From: cygwin-owner On Behalf Of gmiller
> Sent: 09 October 2004 19:49
> I have a sample thread application that runs under Ferdora
> Core 2 latest but exits on an error condition under cygwin.
> If I add sleeps to the end of the child threads then the
> program w
4 matches
Mail list logo