summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-28 02:37:01 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-28 02:37:01 +0000
commit577f3cebbf1caf7b07c635721949884672ce2c94 (patch)
tree40e7020fe6e33e6f94dcab7b3ad597502adcba76 /ChangeLog
parent1a8c914dd2872ea29bd656d54a63e5ddab2c082b (diff)
downloadtinyproxy-577f3cebbf1caf7b07c635721949884672ce2c94.tar.gz
tinyproxy-577f3cebbf1caf7b07c635721949884672ce2c94.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7222150..e626e1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2002-04-27 Robert James Kaes <rjkaes@flarenet.com>
+
+ * 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 <rjkaes@flarenet.com>
* src/reqs.c (connect_to_tunnel): Changed the len type to an