log_error(): Reduce the mutex-protected area
authorFabian Keil <fk@fabiankeil.de>
Mon, 29 May 2017 10:06:57 +0000 (10:06 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 29 May 2017 10:06:57 +0000 (10:06 +0000)
commitaf31785cde42288c236ca4d0ba850d02e466c907
tree01d778e422114ec1ec53c46f88af470d1aedaa3f
parent1f24e03509749449496c8a65c6a7d7d1f8c928c2
log_error(): Reduce the mutex-protected area

... by not using a heap-allocated buffer that is
shared between all threads.

This increases performance and reduces the latency
with verbose debug settings and multiple concurrent
connections.

Sponsored by: Robert Klemme
errlog.c