summaryrefslogtreecommitdiff
path: root/accel-pptpd/triton/triton.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-03 00:51:11 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-03 00:51:11 +0300
commit6409b409508f22ea7dbb3f3fa2cb9de78d5073c5 (patch)
tree1ebd296d3f459103a9459695524c56c0bcbd2f1d /accel-pptpd/triton/triton.h
parent95a19e0c5c622e8e886ff822ea48d28f7bceced4 (diff)
downloadaccel-ppp-6409b409508f22ea7dbb3f3fa2cb9de78d5073c5.tar.gz
accel-ppp-6409b409508f22ea7dbb3f3fa2cb9de78d5073c5.zip
core: rewrited to don't use getcontext/swapcontext due to *context functions works buggy on some combinations of kernel/gcc/glibc
Diffstat (limited to 'accel-pptpd/triton/triton.h')
-rw-r--r--accel-pptpd/triton/triton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/triton/triton.h b/accel-pptpd/triton/triton.h
index 1dc0033..6866d52 100644
--- a/accel-pptpd/triton/triton.h
+++ b/accel-pptpd/triton/triton.h
@@ -72,7 +72,7 @@ int triton_context_register(struct triton_context_t *, void *arg);
void triton_context_unregister(struct triton_context_t *);
void triton_context_set_priority(struct triton_context_t *, int);
void triton_context_schedule(void);
-int triton_context_wakeup(struct triton_context_t *);
+void triton_context_wakeup(struct triton_context_t *);
int triton_context_call(struct triton_context_t *, void (*func)(void *), void *arg);
void triton_cancel_call(struct triton_context_t *, void (*func)(void *));
struct triton_context_t *triton_context_self(void);