in reply to Processing a signal in a separate thread

You seem to mixing your terminology. You talk about "the Run instance's PID", and then "it is enqueued immediately to a thread queue which the main processing loop pulls from." Are you using processes or threads? Or a mix of the two?

When you say "a thread queue", do you mean a Thread::Queue? If so, do you realise that they do not work across process boundaries?

Basically, you need to explain your set up much more clearly. Preferably by posting working code that demonstrates it.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Processing a signal in a separate thread