kernel threads

Julian Elischer julian at elischer.org
Wed Jan 28 00:18:27 PST 2004



On Wed, 28 Jan 2004, Unix Shepherd wrote:

> Actually, i was fiddling around with the kernel splash screen code in 
> order to make it 'animated'... such as the BeOS splash screen.
> I first used the syscons screen timer to make the splash screen change 
> but programming this way is quite ugly, and thought about creating a new 
> thread
> within the splash screen code (thus leaving all other modules unchanged) 
> that would update the screen.
> So i decided to use kthread(9) calls, but before changing the module, 
> wanted to write a little program using the kthread_create and related 
> funtions, but was then unable to compile...the linker couldn't find 
> kthread_xxx functions.
> In my quest for kthread related information, i've read about KSE. 
> Therefore, i was wondering if KSE API functions could be used within the 
> kernel itself.

No

the KSE stuff requires too much assistance from teh Userland Thread
scheduler.

HOWEVER it is possible that kthreads may one day be implemented as
multiple threads of a single kernel process..
(but not yet)



> 
> Thanks.
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> 



More information about the freebsd-hackers mailing list