Akihiro KAYAMA wrote: > Although I'm not familiar with perl, it might be dangerous to mix > multithreading and signal in POSIX environment. Using non-blocking I/O > instead is safe. > > My sample script is here. Code fragments are copied from perlfunc(1). Ah, this is much better. It solves my problem. Thank you very much. Fletcher