[uClinux-dev] Execution threads in kernel

From: Zhu, Yaozong (zyz@chinadigipro.com)
Date: Thu Feb 01 2001 - 00:37:55 EST


A rookie question:

 What's the impact of calling kernel_thread( fn, arg, flags )?
I notice that kernel_thread makes a *clone* syscall and then jump to *fn* and then makes a *exit* syscall. 
 Seems kernel_thread does not return until after *exit* syscall, right?
 Does the scheduler schedule the kernel threads, or the kernel threads just run one bye one? In another words, can there be more than one concurrent kernel threads on a point of time?
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:28 EDT