Subj : Re: How to manage time-slicing in Pthreads programs? To : comp.programming.threads From : David Schwartz Date : Sun Feb 20 2005 11:52 am "Marcin 'Qrczak' Kowalczyk" wrote in message news:87vf8njiwo.fsf@qrnik.zagroda... > Which require checking them in regular intervals. Most Unix programs > don't have a GUI. I'm glad that they can be promptly interupted > without the programmer having to remember to spread checks for an > event queue over the program. Obviously, you need a way to interrupt a broken program in a very harsh way. But for normal termination, the program has to process the shutdown request politely anyway. Allowing ^C to have its default behavior of terminating the program ungracefully is adequate in only trivial programs. DS .