You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to GA. The manual say any process attempt to lock a mutex which has already been locked will be a fatal error, and the process locking mutex will enter the critical section.
My question is, how to prevent other processes lock the locked mutex, for there is no API consult the status of lock. And if more than one process try to lock the mutex, the program will stop for the fatal error. So what is the right way to use lock and mutex? I still can not figure out it after seeing the example in manual, is there any example in more detail?
Thank you!
The text was updated successfully, but these errors were encountered:
I am new to GA. The manual say any process attempt to lock a mutex which has already been locked will be a fatal error, and the process locking mutex will enter the critical section.
My question is, how to prevent other processes lock the locked mutex, for there is no API consult the status of lock. And if more than one process try to lock the mutex, the program will stop for the fatal error. So what is the right way to use lock and mutex? I still can not figure out it after seeing the example in manual, is there any example in more detail?
Thank you!
The text was updated successfully, but these errors were encountered: