[lkml]   [2001]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Threads are processes that share more
    On Thu, Jun 21, 2001 at 01:10:31AM +0200, J . A . Magallon wrote:
    > On 20010621 Stephen Satchell wrote:
    > >
    > >By the way, I'm surprised no one has mentioned that a synonym for "thread"
    > >is "lightweight process".
    > >
    > In linux. Perhaps this the fault.
    > In IRIX, you have sprocs and threads. sprocs have independent pids and you
    > can control what you share (mappings, fd table...). Threads group under
    > same pid.

    I think that's accurate.

    > Linux chose the sproc way...

    That's not accurate. The Linux way is an infinitely nicer architecture.
    For each thing that is shareable you have code like

    vm_fork(... flags)
    if (flags & VM_SHARE) return;
    do the work to fork the data structure

    In other words, it's designed to be shared. The IRIX stuff is disgusting,
    you really don't want anything to do with sproc(). It _sounds_ like they
    are the same but they aren't - for example, with sproc you get your very
    own TLB miss handler. Doesn't that sound special?
    Larry McVoy lm at
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:55    [W:0.045 / U:13.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site