projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server.c: Add some more Doxygen links.
[paraslash.git]
/
sched.h
diff --git
a/sched.h
b/sched.h
index
86afc6f
..
4d57c75
100644
(file)
--- a/
sched.h
+++ b/
sched.h
@@
-27,6
+27,8
@@
struct sched {
fd_set wfds;
/** Highest numbered file descriptor in any of the above fd sets. */
int max_fileno;
fd_set wfds;
/** Highest numbered file descriptor in any of the above fd sets. */
int max_fileno;
+ /** In non-NULL, use this function instead of para_select. */
+ int (*select_function)(int, fd_set *, fd_set *, struct timeval *);
};
/**
};
/**
@@
-73,7
+75,6
@@
struct task {
extern struct timeval *now;
void register_task(struct task *t);
extern struct timeval *now;
void register_task(struct task *t);
-void unregister_task(struct task *t);
int schedule(struct sched *s);
char *get_task_list(void);
int kill_task(char *id);
int schedule(struct sched *s);
char *get_task_list(void);
int kill_task(char *id);