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
In the prom_map_get function, the thread write lock (pthread_rwlock_wrlock) is used.Can I use thread-read locks instead?Would it be more efficiently to change "pthread_rwlock_wrlock" to "pthread_rwlock_rdlock"?
The text was updated successfully, but these errors were encountered:
cxyxiaoli
changed the title
Can I use "pthread_rwlock_rdlock" in function
Can I use "pthread_rwlock_rdlock" in function "prom_map_get"?
Nov 21, 2020
In the prom_map_get function, the thread write lock (pthread_rwlock_wrlock) is used.Can I use thread-read locks instead?Would it be more efficiently to change "pthread_rwlock_wrlock" to "pthread_rwlock_rdlock"?
The text was updated successfully, but these errors were encountered: