[pthread][libc][time] 修改pthread与libc的时间函数若干问题
Please define RT_USING_LIBC and compile RT-Thread with GCC compiler.
https://sourceware.org/newlib/libc.html#Reentrancy