src/server/public/nsapi.h

branch
webdav
changeset 357
f45e962edf45
parent 345
5832e10fc59a
child 366
47bc686fafe4
equal deleted inserted replaced
356:eebc3d32c7c1 357:f45e962edf45
1598 1598
1599 void nsapi_function_return(Session *sn, Request *rq, int ret); 1599 void nsapi_function_return(Session *sn, Request *rq, int ret);
1600 1600
1601 // threadpool 1601 // threadpool
1602 threadpool_t* threadpool_new(int min, int max); 1602 threadpool_t* threadpool_new(int min, int max);
1603 int threadpool_start(threadpool_t *pool);
1603 void* threadpool_func(void *data); 1604 void* threadpool_func(void *data);
1604 threadpool_job* threadpool_get_job(threadpool_t *pool); 1605 threadpool_job* threadpool_get_job(threadpool_t *pool);
1605 void threadpool_run(threadpool_t *pool, job_callback_f func, void *data); 1606 void threadpool_run(threadpool_t *pool, job_callback_f func, void *data);
1606 1607
1607 int event_pollin(EventHandler *ev, SYS_NETFD fd, Event *event); 1608 int event_pollin(EventHandler *ev, SYS_NETFD fd, Event *event);

mercurial