[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pthread_testcancel()



Hi all!

I have noticed that in rtl_schedule.c, calls is made to pthread_testcancel() whenever the scheduling of a thread is affected, for example when clock_nanosleep is called (or whenever a thread is switched out).

Why is this the case?

Regards,
Jonas

______________________________________________________________________
 Jonas Persson                    E-mail: jonas.persson@comsys.se
 Project Manager, M.Sc C.Sc&E     http://www.comsys.se/
 Comsys AB                        Phone: +46-(0)46-286 3051
 Forskningsbyn IDEON              Fax: +46-(0)46-286 3505
 S-223 70 Lund, Sweden