LinuxThreads replacement
David Schultz
das at FreeBSD.ORG
Tue Jul 15 10:48:48 PDT 2003
On Tue, Jul 15, 2003, Terry Lambert wrote:
> David Schultz wrote:
> > On Tue, Jul 15, 2003, Terry Lambert wrote:
> > > Yes, this is somewhat mitigated by the fact that it's easier to write
> > > threads code than an FSA, such that a lesser coder is still able to
> > > be productive. As a class, it's a tool I would lump in with things
> > > like "perl".
> >
> > Actually, event-based programming is usually easier, since it does
> > not require synchronization. A number of people, myself included,
> > think that threads are overused, and often used incorrectly. But
> > as Nate pointed out, threads are useful for many purposes, the
> > most fundamental of which are SMP scalability and reduced latency.
>
> [graphics contexts in OpenGL]
> [restartable system calls]
> [thread contention scope in 1x1]
> [interrupting close(2) with a signal]
> [the Banker's Algorithm]
> [races involving sockets]
> [Mach activations]
> [intention-mode locking]
You have made some interesting points, but are you sure you're
responding to the right thread? :-P Perhaps we need to adjust
your contention scope...
More information about the freebsd-threads
mailing list