Skip to content
  • Sylvain Henry's avatar
    Implement Unique supply with Addr# atomic primop · 6c771aaf
    Sylvain Henry authored
    Before this patch the compiler depended on the RTS way (threaded or not)
    to use atomic incrementation or not. This is wrong because the RTS is
    supposed to be switchable at link time, without recompilation.
    
    Now we always use atomic incrementation of the unique counter.
    6c771aaf