Thread-Safe Function:A function that may be safely invoked concurrently by multiple threads.
线程安全函数不一定是可重入函数。
Note that readdir is not thread-safe, because the returned structure is a static variable stored in the function library.
请注意,readdir不是线程安全的,因为所返回的结构是存储在函数库中的一个静态变量。
Keep in mind that the timer callback function is executed on a worker thread, so you'll want to ensure that you have thread-safe access to the state object.
记住定时回调功能是在一个工作者线程上执行的,所以你必须确保访问state对象的线程安全。
The strerror() function isn't necessarily thread-safe; for unknown values, it formats an error message in a static buffer and returns a pointer to that buffer.
strerror()函数并没有必要是线程安全的;对于未知值,该函数在静态缓冲区中设置错误消息的格式并将指针返回到该缓冲区。
It is not safe to call this function when it is unknown which thread (if any) currently has the global interpreter lock.
当前拥有全局解释器锁的线程(或其它什么)未知时,调用这个函数不安全。
It is not safe to call this function when it is unknown which thread (if any) currently has the global interpreter lock.
当前拥有全局解释器锁的线程(或其它什么)未知时,调用这个函数不安全。
应用推荐