On 18 Mar 98 at 9:17, Masaharu Goto wrote: > I'm not sure using above signal handler creates problem in other > part of ROOT system. This will not work under WIN32. "Signal" under WIN32 can handle the "internal" exceptions only (like divide by zero) but can not catch the external one (like ctrl-c). (Strictly say WIN32 has not "external" signals at all) To manage the external signal a special separate thread should be created with its own event loop and the table of the "active" signals and signal handles too. In fact under UNIX this "thread " does exist as well. But it belongs the OS process not user's one and user hasn't to create it himself. Under WIN32 "if one wants some "UNIX-like" functionality like signals one has to do this thread himself within his/her user's code. ================================================================= Dr. Valeri Faine (Fine) ------------------- Phone: +1 516 344 7806 Brookhaven National Laboratory FAX : +1 516 344 4206 Bldg. 510A /STAR mailto:fine@bnl.gov Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine USA Dr. Valery Fine Telex : 911621 dubna su ----------- LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80 141980 Dubna, Moscow region Fax : +7 09621 6 51 45 Russia mailto:fine@main1.jinr.dubna.su
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:31 MET