How can I stop a thread in time which runs in a forever and big loop? For example, in the loop the thread may be waiting for the return of select(), a complex calculation function or time-out, can I inturrupt it and made the thread stop just like a signal do ? ___________________________________________________________ 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 http://cn.mail.yahoo.com/?id=77071 _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list