kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit cb489ce80f888f51a86f2827c825b07839f696f6
parent 3284265b74d2fdead8d91bd12a08c7f40aa10205
Author: Joris Vink <joris@coders.se>
Date:   Sun, 31 Jan 2016 16:47:00 +0100

Define WAIT_ANY if not defined previously.

Diffstat:
src/worker.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/worker.c b/src/worker.c @@ -46,6 +46,10 @@ #define worker_debug(fmt, ...) #endif +#if !defined(WAIT_ANY) +#define WAIT_ANY (-1) +#endif + #define KORE_SHM_KEY 15000 #define WORKER_LOCK_TIMEOUT 500