c11: Use pure c language to implement tls callback

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
86 jobs for !18033 with thrd_current_c_only in 12 seconds (queued for 12 seconds)
latest merge request