LiXiangnan
LiXiangnan
An abnormal program termination occurred when I called the "prom_map_delete" function. I found that in the following code, the parameter was passed incorrectly. https://github.com/digitalocean/prometheus-client-c/blob/f64fd5998437a89698fb83b7602e75176b1f7416/prom/src/prom_linked_list.c#L155 I changed to the following code,...
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"?
Hello, libhv is a very good open source library, recently I am learning the source code of libhv. While reading the http server code, I found a thread safety issue...