Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python threading.Event()对象是否遭受虚假唤醒?_Python_Multithreading_Asynchronous_Blocking_Spurious Wakeup - Fatal编程技术网

Python threading.Event()对象是否遭受虚假唤醒?

Python threading.Event()对象是否遭受虚假唤醒?,python,multithreading,asynchronous,blocking,spurious-wakeup,Python,Multithreading,Asynchronous,Blocking,Spurious Wakeup,在C语言中,pthread条件变量的作用与python中的threading.Event()变量的作用相同。我的问题是,threading.Event()变量是否与pthread条件变量遭受相同的虚假唤醒问题

在C语言中,pthread条件变量的作用与python中的
threading.Event()
变量的作用相同。我的问题是,
threading.Event()
变量是否与pthread条件变量遭受相同的虚假唤醒问题