Re: [naviserver-devel] using rwlocks for nsv variables

2020-07-01 Thread Gustaf Neumann
On 01.07.20 10:53, Zoran Vasiljevic wrote: I understand you added rwlocks elsewhere as well? There are already rwlocks in NaviServer since ages, used e.g. for epoch management, ADP tags, permissions. The current version uses as well rwlocks for nsv variables (most user visible part) and also

Re: [naviserver-devel] using rwlocks for nsv variables

2020-07-01 Thread Zoran Vasiljevic
On Wed, 1 Jul 2020 10:46:57 +0200 Gustaf Neumann wrote: > Right now, the flag is set in the sources (nsthread/rwlock.c). > For the release, a more user-friendly configure flag > (--disable-nsvrwlock) would be appropriate. I understand you added rwlocks elsewhere as well?

Re: [naviserver-devel] using rwlocks for nsv variables

2020-07-01 Thread Gustaf Neumann
On 01.07.20 02:03, Maksym Zinchenko wrote: Hello,first of all thank you for great work. If I understood correctly on compile time we need to provide a configuration option to compile NaviServer with mutex or rwlocks, so option b sounds good and more than enough. Right now, the flag is set in