#ifdef _KERNEL in lwkt_thread.c

Nicolas Thery nthery at gmail.com
Sun May 18 09:40:09 PDT 2008


Hello,

kern/lwkt_thread.c can apparently be compiled both as kernel and user
land code (cf #ifdef _KERNEL in file).  What's the purpose of this?
Was it just initially developed user-side then ported into the kernel
or is there something else?

Thanks,
Nicolas





More information about the Kernel mailing list