common: add thread_once() implementation
2 files changed