in reply to Re: yet another thread/signal question
in thread yet another thread/signal question

My experience has been that you can get signals to a thread, but it's totally unpredictable - sometimes the child thread(s) will get the signal and sometimes the main thread gets it. Still, in the end it's not really usable.
  • Comment on Re^2: yet another thread/signal question

Replies are listed 'Best First'.
Re^3: yet another thread/signal question
by BrowserUk (Patriarch) on Nov 06, 2011 at 19:22 UTC

    If you set up signal handlers in all the threads, then which one actually gets it will be (in)determined by whichever one of them next gets a time slice after the signal is raised. Ie. In the hands of the gods.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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.