Not sure if this is the problem or not, but wouldn't you need
to call pth_waitpid() instead of waitpid()?
-Archie
______
Archie Cobbs * Packet Design * http://www.packet
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
#include stdio.h
#include stdlib.h
#include pth.h
static void *thread(void *arg);
static int check_something(void *arg);
int
main(int ac, char **av)
{
pth_event_t ev
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
User Support Mailing List[EMAIL PROTECTED]
Automated
that if these functions call
a lot of other functions.
- pth_cond_notify() should have a new boolean argument that means
but don't context switch just yet!!
Cheers,
-Archie
__
Archie Cobbs * Packet Design
to schedule?!? is often pth code language
for you closed one of my file descriptors dummy!!
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
, and would be willing to supply
patches if that would help.
Thanks,
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
__
GNU
(but untested).
Thanks,
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
--- pth_high.c.orig Sat Mar 24 06:49:58 2001
+++ pth_high.c Thu Dec 6 09:53:30 2001
@@ -496,7 +496,7
either way
because it is a somewhat subtle and non-obvious point.
Thanks,
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
for writing.
You must have explicitly set your file descriptor to non-blocking.
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
Pavel A. Gashev wrote:
I think the patch speaks for myself.
Then you must like breaking software :-)
What are you trying to do??
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
User Support Mailing List[EMAIL PROTECTED
/).
This is somewhat ironic, given this particular thread...
Cheers,
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
__
GNU
12 matches
Mail list logo