passing a thread argument vs. using curthread

Matthew Dillon dillon at
Wed Oct 15 17:16:57 PDT 2003

:Should I be passing thread arguments for split syscalls or should I just
:use curthread?  Will this choice effect us at a later stage?
:   David P. Reese, Jr.                                     daver at xxxxxxxxxxxx

    If the system call can only work on behalf of the current thread (which
    is most or all system calls), then you should not pass the thread
    pointer as an argument. 

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Kernel mailing list