From: Nicholas N. <nj...@cs...> - 2005-03-31 17:17:29
|
On Thu, 31 Mar 2005, Tom Hughes wrote: >>> +PRE(sys_gettid, 0) >>> +{ >>> + PRINT("sys_gettid ()"); >>> + PRE_REG_READ0(long, "gettid"); >>> +} >>> + >> >> It does nothing? Surely there should be a comment explaining what is >> happening here? > > Of course it does something - after the pre handler runs the system > call will be run in the usual way and return a result. With the new > threading model no special handling is needed for gettid. Ok... I'll engage my brain before commenting next time :) N |