passing a thread argument vs. using curthread

Matthew Dillon dillon at apollo.backplane.com
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
:                                               http://www.gomerbud.com/daver/

    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. 

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Kernel mailing list