Hello!
On Tue, Sep 22, 2015 at 11:04 AM, Martin Gee wrote:
> I've written a C shared lib (which I load via Lua FFI) that has its own
> internal cache for private state data. I do call the via lua the Share Lib
> for a function on each user request.
>
> I'm curious if I need to use a mutex / lock for cache updates?
No, it's not needed at all.
> Give the
> single threaded event module of NGINX I wasn't sure it its necessary.
>
Yeah, that's the beauty of single threaded apps :)
Regards,
-agentzh