rocksdb
rocksdb copied to clipboard
Make LocalTimeR fork safe by avoid calling localtime_r
On multi process, when a thread forking a child process while another thread has entered mutex lock in __tz_convert, the newly forked process will deadlock when calling to localtime_r which call to __tz_convert.