[PATCH 06/12] util: add API to fetch the current thread name