Closed Julow closed 5 years ago
@Julow that looks alright to me ! I'll merge once I get a bit of time for that.
Your patch is in as 16cf5082abcb8eba7d290d260 I tweaked it in 83b4fae852806ab849f45. I'll soon do a release.
Great, thanks !
Also build tweaks in 92d478c29cbc2a49745b41b66a6
Alternative to https://github.com/dbuenzli/logs/pull/27.
Add a
logs.threaded
library and the functionLogs_threaded.enable ()
function to enable thread-safe logging.It is implemented by adding
Logs.set_mutex
which sets thelock
andunlock
functions that can be set byLogs_threaded.enable
. They do nothing by default.