lkml.org 
[lkml]   [2004]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: What does atomic_read actually do?
    From
    Date
    On Sat, 2004-12-18 at 15:43 -0500, Joseph Seigh wrote:

    > > it does so on *x86
    >
    > Is this documented for gcc anywhere? Just because it does so doesn't
    > mean it's guaranteed.

    Listen to what Arjan is saying: It is not a compiler feature. x86
    already guarantees that an aligned word-size read is atomic in the
    nothing-can-interleave sense.

    Robert Love


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.033 / U:0.040 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site