From: Christoph Kappel Date: 2009-09-25T18:56:58+09:00 Subject: Embedded Ruby 1.9.1, signals and multithreading ------=_Part_7838_391866652.1253872612077 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I have some question abouts the signal handling in 1.9.1 and haven't found = any docs so I am asking here -=20 based on assumptions of course so please correct me if I am mistaken. I am author of a window manager (subtle) and embed ruby as scripting langua= ge. Since the switch from 1.8 to 1.9 I am facing many problems with asynchronous signals in multithre= ading. How is signal handling supposed to work and does the thread that ruby creat= es automatically have any own signal handlers? Due the asynchronous behaviour of signals like SIGINT the = first thread with a handler will get the signal and this is sometimes not my main thread. Also when this ruby thread has any handler, can some signals be disabled or= should I just add traps and rely=20 fully on ruby and dispatch the signals to my main thread? Thanks in advance. Wbr, Christoph ------=_Part_7838_391866652.1253872612077--