Benno Evers
Benno Evers
The only way I see is to mutex the whole buffer, i.e. ``` // Reader thread { std::lock_guard lock(io_mutex); io_buffer.read(...); } // Writer thread { std::lock_guard lock(io_mutex); io_buffer.write(...); } ```...
Hm, in that case this library is probably linux-only, I don't see a way to implement it without using `mremap()`. Sorry about that :/
In theory the python objects are ref-counted and should be correctly destroyed once they leave scope. In practice it's entirely possible that there's a bug somewhere that's leaking references, in...
I'm also encountering the same issue. @crazy-max I assume the code you linked is only reached in combination with some other options: When removing `/etc/docker/daemon.json` completely the build processes are...
According to https://packages.ubuntu.com/search?searchon=contents&keywords=numpy%2Farrayobject.h&mode=exactfilename&suite=xenial&arch=any there are three packages for xenial containing this file, if you have installed one of them it should be just a matter of verifying that the include...
Are the examples in the migration guide actually correct? From the docs, it sounds like the old `jwt.decode()` is unsafe by default and you have to manually call `token.validate()` on...
Maybe this is just an issue with the documentation and not with the guide then, but it feels like the two contradict each other. The comment for the old example...