t the wakeup was spurious.
nevertheless, it is a good practice
to wait in a while loop.
Bill
- Original Message -
From: Bill Luoma <[EMAIL PROTECTED]>
Date: Monday, January 6, 2003 8:08 am
Subject: Re: [luau] kicking a threads butt into action
> Hi Charles.
>
> are you checking
n happen with linux.
the solaris man page warns about it,
as does Stevens.
Bill
- Original Message -
From: "Charles Lockhart" <[EMAIL PROTECTED]>
To: "LUAU" <[EMAIL PROTECTED]>
Sent: Sunday, January 05, 2003 8:07 AM
Subject: [luau] kicking a threads butt in
I've got an application that consists of three threads:
Thread 1 services a device on the PCI bus, basically reading data from
the device into buffers in memory. After it's filled a buffer, it calls
pthread_cond_signal to start up thread 2, then it goes to sleep for
greater than a set period.