When PTHREADS uses mutex to lock, cli crashes (WIN7) code: {code ...} if you can tell me where the php system log is (similar to APACHE error. log ). Supplement: according to the official PTHREADS, it is thread-safe. Theoretically, the thread security itself... when PTHREADS uses mutex to lock, cli crashes (WIN7)
Code:
If you can tell me where the php system log is (similar to APACHE error. log ).
Add:
According to the official PTHREADS, thread security is thread-safe. Theoretically, thread security itself protects resources shared among multiple threads. what does this lock mean? I also tried multi-Threaded operations on Threaded shared resources and found that there was no problem with the final output.
Reply content:
When PTHREADS uses mutex to lock, cli crashes (WIN7)
Code:
If you can tell me where the php system log is (similar to APACHE error. log ).
Add:
According to the official PTHREADS, thread security is thread-safe. Theoretically, thread security itself protects resources shared among multiple threads. what does this lock mean? I also tried multi-Threaded operations on Threaded shared resources and found that there was no problem with the final output.