News for hackers. Stuff that matters.
Re:“POSIX advisory locks are broken by design” by ecnahc515 on Tuesday July 24, 2018 @09:24PM (#17606284)
haimez said this already, but I wanted to phrase it another way:

This only works if your not executing multiple requests in the same thread, ie: using non-blocking IO.

Re:“POSIX advisory locks are broken by design” by caf on Tuesday July 24, 2018 @09:41PM (#17606334)
Even if you're using non-blocking or asynchronous IO there's always going to be a point at which you switch to the context of a particular request in order to handle it, and that's the point at which you can also switch locales if you want to handle it in a locale-specific way.