【记录一个问题】android ndk中不支持pthread_yield()

如题
使用这个函数报如下错误:

error: use of undeclared identifier 'pthread_yield'
      pthread_yield();

不得已,使用usleep(500)代替

原文地址:https://www.cnblogs.com/ahfuzhang/p/11440072.html