summaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-01-25 00:01:45 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-01-25 00:01:45 +0000
commit1819c0f818b281a57ac6fddcaae3dbbf615a2da1 (patch)
tree92ae4102bc15073e6e3ebe9dfdf09b8b5b6032d7 /src/thread.h
parent388920bc53a01d983cd438d8ee1f1518f92097ce (diff)
downloadtinyproxy-1819c0f818b281a57ac6fddcaae3dbbf615a2da1.tar.gz
tinyproxy-1819c0f818b281a57ac6fddcaae3dbbf615a2da1.zip
Added code to check for "errors" from the accept call in thread_main() and
also a new thread_kill_threads() function which should cancel all threads when the main thread is being closed.
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h
index 2c6b771..aed3570 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -1,4 +1,4 @@
-/* $Id: thread.h,v 1.3 2001-09-07 04:20:04 rjkaes Exp $
+/* $Id: thread.h,v 1.4 2002-01-25 00:01:45 rjkaes Exp $
*
* See 'thread.c' for more information.
*
@@ -30,6 +30,7 @@ extern short int thread_pool_create(void);
extern int thread_listening_sock(uint16_t port);
extern void thread_close_sock(void);
extern void thread_main_loop(void);
+extern void thread_kill_threads(void);
extern short int thread_configure(thread_config_t type, unsigned int val);