DragonFly BSD
DragonFly kernel List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: passing a thread argument vs. using curthread


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Oct 2003 17:16:11 -0700 (PDT)

: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@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@xxxxxxxxxxxxx>



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