projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the threading stuff in the evtloop module.
[apps/madmutt.git]
/
lib-sys
/
evtloop.h
diff --git
a/lib-sys/evtloop.h
b/lib-sys/evtloop.h
index
0865039
..
961390a
100644
(file)
--- a/
lib-sys/evtloop.h
+++ b/
lib-sys/evtloop.h
@@
-15,7
+15,7
@@
* MA 02110-1301, USA.
*/
/*
* MA 02110-1301, USA.
*/
/*
- * Copyright © 200
6
Pierre Habouzit
+ * Copyright © 200
7
Pierre Habouzit
*/
#ifndef MUTT_LIB_SYS_EVTLOOP_H
*/
#ifndef MUTT_LIB_SYS_EVTLOOP_H
@@
-95,9
+95,10
@@
__must_check__ int el_job_starttls(job_t *w);
__must_check__ ssize_t el_job_read(job_t *w, buffer_t *buf);
__must_check__ ssize_t el_job_write(job_t *w, buffer_t *buf);
__must_check__ ssize_t el_job_read(job_t *w, buffer_t *buf);
__must_check__ ssize_t el_job_write(job_t *w, buffer_t *buf);
+void el_lock(void);
+void el_unlock(void);
int el_dispatch(int timeout);
int el_dispatch(int timeout);
-void *el_loop(void *);
void el_initialize(void);
void el_shutdown(void);
void el_initialize(void);
void el_shutdown(void);