lkml.org 
[lkml]   [2007]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: NPTL
Date

> So I can say that in linux 'thread' == 'process'?

No. A process can have any number of threads.

> Is kernel routine 'kthread' creating a process?

No, since a process can have more than one thread.

> I'm just thinking on this subject: if to create 'real threads' - will
> it increase performance? Should I ever think in this way?
> When I say 'real thread' - I mean the thread that doen't switch
> context when it's starting to run.

I don't follow.

The kernel sometimes calls a KSE a 'process'. This is largely a legacy from
when there was a one-to-one correspondence between KSEs and processes.
However, this is no longer the case. In Linux, 'KSE' == 'thread'.

DS


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-12 15:01    [W:0.040 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site