News for hackers. Stuff that matters.
Re:The Elegance of Deflate by gpderetta on Monday August 22, 2016 @10:02AM (#12336367)
> And I guess because it mutates globals, it is a bit confusing in a threaded context.

What globals?

Re:The Elegance of Deflate by chubot on Monday August 22, 2016 @02:23PM (#12338288)
My understanding is it works a bit like errno. errno is global that is set by the callee and then the caller can check it whenever, not necessarily right after the call or in the same function. But it's actually a thread-local, so it works fine in a threaded context, but is just a little odd to look at.