summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/thread.h b/lib/thread.h
index 95008a73bc..22eb7c7120 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -49,13 +49,14 @@ struct pqueue;
/* Master of the theads. */
struct thread_master
{
- struct thread_list read;
- struct thread_list write;
+ struct thread **read;
+ struct thread **write;
struct pqueue *timer;
struct thread_list event;
struct thread_list ready;
struct thread_list unuse;
struct pqueue *background;
+ int fd_limit;
fd_set readfd;
fd_set writefd;
fd_set exceptfd;