gettid (cargo): Helper to get an integer ID for the current thread
Keywords: gettid|pthread