Put finishing touches on turfwar http server

- Shutdown process now has optimal cancellation latency
- Fairer techniques for shedding connections under load
- We no longer need to call poll() which is now removed
This commit is contained in:
Justine Tunney 2022-10-03 21:50:00 -07:00
parent 01bd7d1008
commit 3ee3736a01
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3 changed files with 117 additions and 61 deletions

View file

@ -19,7 +19,5 @@
#include "libc/calls/state.internal.h"
#include "libc/thread/thread.h"
// TODO(jart): These should be _Thread_local but doing that currently
// causes a regression with runitd.com on Windows.
unsigned __sighandrvas[NSIG];
unsigned __sighandflags[NSIG];