Closed lpereira closed 9 years ago
The writes performed by writev() are guaranteed to be atomic, so the mutex used by lwan-status.c can be removed as it's just there to ensure messages won't be garbled if two threads call any lwan_status_*() functions.
writev()
lwan-status.c
lwan_status_*()
This should also simplify #59.
The writes performed by
writev()
are guaranteed to be atomic, so the mutex used bylwan-status.c
can be removed as it's just there to ensure messages won't be garbled if two threads call anylwan_status_*()
functions.