how ngx.shared.DICT could be locked

Anatoli Marinov toli at webforge.bg
Tue Jan 8 09:09:02 UTC 2013


Hello Colleagues,
I am wondering is there a method for shared dictionary locking.
In my script I have to flush all records from the dictionary and after 
that the script will put new records. In this time I do not want other 
workers to read the partially loaded dictionary.
So is it possible to lock it for a very small period of time?


Thanks in advance
Anatoli Marinov



More information about the nginx-devel mailing list