lkml.org 
[lkml]   [2000]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Slow pthread_create() under high load
Hi,

On Tue, Mar 28, 2000 at 05:07:44AM -0500, Albert D. Cahalan wrote:
>
> Stephen C. Tweedie:
> > Maybe, but although a lot of the POSIX threads are reasonable,
> > things like requiring uid/gid updates to be instantly effective
> > across all threads in the process are just insane.

> If we had a task-group notion in the kernel, we could send some
> sort of signal to all tasks in the group.

You can do that anyway, in user space. Much cleaner.

> It is easy to share PIDs. Rename the old getpid() call to gettid()
> and introduce a new getpid() call. The directories in /proc should
> be seen as tasks, not processes.

User space. :-)

--Stephen

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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.040 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site