lkml.org 
[lkml]   [2014]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC][PATCH 0/5] arch: atomic rework
    From
    On Sun, Feb 9, 2014 at 5:16 PM, Torvald Riegel <triegel@redhat.com> wrote:
    >
    > (a) seems to say that you don't like requiring programmers to mark
    > atomic accesses specially. Is that the case?

    In Paul's example, they were marked specially.

    And you seemed to argue that Paul's example could possibly return
    anything but 0/0.

    If you really think that, I hope to God that you have nothing to do
    with the C standard or any actual compiler I ever use.

    Because such a standard or compiler would be shit. It's sadly not too uncommon.

    Linus


    \
     
     \ /
      Last update: 2014-02-10 02:41    [W:4.054 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site