• David Carlier's avatar
    Implementing ZERO_OBJ macro proposal. · dc4a889c
    David Carlier authored
    - According to #3051, this does not seem too obvious to be
    properly detected on Linux systems.
    - Some other OSes prefer to play in their own 'backyard',
    having similar feature but named differently (e.g. NetBSD)
    would need addition autotools check.
    - Thus proposing implementing the macro with the volatile
    pointer approach rather than memory fence's, sufficient to
    prevent compiler optimisations.
    dc4a889c