[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question on deleting threads
From: |
mcgregor |
Subject: |
Question on deleting threads |
Date: |
Tue, 23 Nov 2004 09:36:01 -0700 |
Dear all,
I'm having problems deleting SocketService objects, and I think I have tracked
the abort to the line:
line 980: pthread_join(tid,NULL);
in the Thread::terminate() method. I can reproduce the problem in the demo
program tcpservice - after the last client has disconnected the program aborts.
In this case it is the deletion of the ChatterThread object which causes the
abort (although deleting the SocketService first also causes an abort).
I'm using commonc++ 1.2.6, gcc v3_4_1, on RHEL 3.
Thanks for your help, and for a great library.
Gordon McGregor
Los Alamos National Laboratory
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Question on deleting threads,
mcgregor <=