From 577f3cebbf1caf7b07c635721949884672ce2c94 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Sun, 28 Apr 2002 02:37:01 +0000 Subject: Fixed up the error detection code when relating the pthread functions. They return 0 if OK, and a positive error code. Cleaned up the status setting code in thread_main(). Thanks to Hans-Georg Bork for fixing the problem in thread_pool_create() where the status wasn't set early enough to allow all the threads to be created. Added additional logging information to let the admin know what is happening with the thread creation. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7222150..e626e1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2002-04-27 Robert James Kaes + + * src/thread.c (thread_pool_create): Set the thread's status + _before_ the thread is created. Thanks to Hans-Georg Bork for + solving this problem. + (thread_main): Fixed up the status setting code. Removed + duplicated code and explicitly set the status when needed. + + Fixed up all the code checking the return value from the pthread + functions. These functions return 0 if OK, but a _positive_ error + code. + 2002-04-26 Robert James Kaes * src/reqs.c (connect_to_tunnel): Changed the len type to an -- cgit v1.2.3