【发布时间】:2021-02-23 05:48:34
【问题描述】:
我注意到有可能获得the thread holding the mutex lock on a ptread。
GMutex 也可以这样吗?我在文档中没有找到任何参考资料。
【问题讨论】:
标签: c++ c multithreading thread-safety glib
我注意到有可能获得the thread holding the mutex lock on a ptread。
GMutex 也可以这样吗?我在文档中没有找到任何参考资料。
【问题讨论】:
标签: c++ c multithreading thread-safety glib
不,这是不可能的。 entire GMutex API 在这里,并且不包含获取拥有线程的方法。
【讨论】: