prometheus-client-c
prometheus-client-c copied to clipboard
Can I use "pthread_rwlock_rdlock" in function "prom_map_get"?
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"?