in python multithreading, only the main thread can receive the signal and cannot use join blocking. so how does the main thread end the child thread in the blocking state after receiving the signal the following code child threads receive_task1 are...
on Linux, while executing sem_timewait (), will the current thread sleep, choose another thread to execute, or block in place until it times out? after the timeout, if the lock has not been acquired, do you sleep or block the current process? ...