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

RE: [rtl] thread-task



The difference is probably the concept of task and thread. A task could be a thread or a process depends on system.

In RT-Linux, the real-time OS – Real time Linux is a kernel process which will spawn multiple threads as real-time tasks.

So, under RT-Linux real-time tasks are threads.

Yes, there is a task_struct for each thread, it’s in scheduler header. I have to say RT-Linux have a very neat way to do context switch J

 

-Hai

 

-----Original Message-----
From: owner-rtl@fsmlabs.com [mailto:owner-rtl@fsmlabs.com] On Behalf Of Ahmet Mutlu
Sent: Monday, July 23, 2001 6:38 AM
To: rtl@fsmlabs.com
Subject: [rtl] thread-task

 

what is the difference of a task and thread,

in system level.

i mean is there a task_struct for each thread?