2c1 Subj : Re: killing thread To : comp.programming.threads From : Alexander Terekhov Date : Wed Aug 10 2005 05:41 pm Vitale Ferruccio wrote: [...] > > Hi, > > my program runs under *nix and windows, I'm using POSIX threads. ^^^^^^^ > For clearance, I report two small peace of code: [...] > After thread_execute calls pthread_cancel, I thought that the thread would be > cancelled: instead thread_timer exists only when 200 seconds are passed. > I could now rewrite my question: how can I put to sleep a thread and interrupt > its execution? :-) http://sources.redhat.com/pthreads-win32/manual/pthread_delay_np.html regards, alexander. . 0