diff options
author | Adam Chlipala <adam@chlipala.net> | 2017-08-11 19:38:56 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2017-08-11 19:38:56 -0400 |
commit | 3bf011c2beb733062e6e94b545242ff0105a1402 (patch) | |
tree | 029031f0dc15871fea21b96c5626cc7d63e681dc /src/c/request.c | |
parent | 4b7939d2fef1d8ef02ff761ade62cc220ab248cf (diff) | |
parent | e58c6fdacf972578a649ddc7e43fa984a67ffcb9 (diff) |
Merge branch 'master' of ssh://github.com/urweb/urweb
Diffstat (limited to 'src/c/request.c')
-rw-r--r-- | src/c/request.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/request.c b/src/c/request.c index a7f23851..3e7ac34c 100644 --- a/src/c/request.c +++ b/src/c/request.c @@ -78,6 +78,8 @@ uw_context uw_request_new_context(int id, uw_app *app, uw_loggers *ls) { } static void *ticker(void *data) { + (void)data; + while (1) { usleep(100000); ++uw_time; @@ -133,6 +135,8 @@ static unsigned long long stackSize; int pthread_create_big(pthread_t *outThread, void *foo, void *threadFunc, void *arg) { + (void)foo; + if (stackSize > 0) { int err; pthread_attr_t stackSizeAttribute; |