[lkml]   [2001]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: threading question
    On Thu, Jun 14, 2001 at 07:28:32PM +0100, Alan Cox wrote:

    > There are really only two reasons for threaded programming.
    > - Poor programmer skills/language expression of event handling

    The converse is that pthreads are:

    - Very easy to use from C at a reasonable runtime overhead

    It is very convenient for a userspace coder to be able to just start a
    function in a different thread. Now it might be so that a kernel is not
    there to provide ease of use for userspace coders but it is a factor.

    I see lots of people only using:
    no signals

    My gut feeling is that you could implement this subset in a way that is both
    fast and right - although it would not be 'pthreads compliant'. Can anybody
    confirm this feeling?



    -- Versatile DNS Services
    Trilab The Technology People
    'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
    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.020 / U:15.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site