[lkml]   [2007]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] use spinlock instead of binary mutex in idt77252 driver
    El Mon, Apr 23, 2007 at 09:16:08AM +0200 Eddie C. Dost ha dit:

    > Please note that the semaphore is used to lock the idt77252 config
    > tables among multiple users including atmsigd even on single processor
    > machines. Does this work with mutexes?

    afaik mutexes have the same behaviour as binary semaphores that are
    used as mutexes (always locked and unlocked by the same

    ".. the semaphore type can officially be considered to be on its way
    out. New code should not use semaphores, and old code which uses
    semaphores as mutexes should be converted over when an opportunity
    presents itself."

    please correct me if i'm wrong, i'm just doing my first steps with
    linux kernel development


    Matthias Kaehlcke
    Linux Application Developer

    C treats you like a consenting adult. Pascal treats you like a
    naughty child. Ada treats you like a criminal
    (Bruce Powel Douglass)
    using free software / Debian GNU/Linux | : :' :
    `. `'`
    gpg --keyserver --recv-keys 47D8E5D4 `-
    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: 2007-04-23 09:41    [W:0.027 / U:19.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site