This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]