rxi / log.c

A simple logging library implemented in C99

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is this library multiprocess safe?

kevin-tso opened this issue · comments

commented
commented

log_set_lock(log_LockFn fn, void *udata)
If the log will be written to from multiple threads a lock function can be set. The function is passed the boolean true if the lock should be acquired or false if the lock should be released and the given udata value.

commented