What does `Fatal Python error: PyThreadState_Get: no current thread` mean?

This problem may occur if the .so file from homebrew’s formula links against a different python library than the interpreter you are running, see also this thread and this response. If you have no other dependencies then running your program using the python interpreter from homebrew (which should be located in /usr/local/bin/) may solve the … Read more

What’s the difference between the message passing and shared memory concurrency models?

It’s a pretty simple difference. In a shared memory model, multiple workers all operate on the same data. This opens up a lot of the concurrency issues that are common in parallel programming. Message passing systems make workers communicate through a messaging system. Messages keep everyone seperated, so that workers cannot modify each other’s data. … Read more