Skip Menu |
Report information
Id: 130417
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [CONC] Take care of cas
Download (untitled) / with headers
text/plain 760b
https://github.com/rakudo/rakudo/blob/9594a3ece38ca212023cf3ece7405d955303db13/src/core/asyncops.pm#L50 <jnthn> I thought I killed that off once <jnthn> I did in 539b5f44ef3f pre-xmas <jnthn> Because I thought it was pretty ridiculous having a non-atomic CAS in there :/ <jnthn> I made the mistake of tossing it with something else and it seems it got restored later as if I did it by accident rather than by quiet sleight of hand :P <AlexDaniel> jnthn: can you take care of it now? :) <jnthn> AlexDaniel: Well, we could actually do with a working cas... :P <jnthn> (A few things I'd like to do could use it) <jnthn> So I'll probably just fix it sometime next year :) <jnthn> AlexDaniel: Feel free, and mark it [CONC]; I watch the CONC list for stuff to do :)
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 984b
On Tue, 27 Dec 2016 12:32:50 -0800, alex.jakimenko@gmail.com wrote: Show quoted text
> https://github.com/rakudo/rakudo/blob/9594a3ece38ca212023cf3ece7405d955303db13/src/core/asyncops.pm#L50 > > <jnthn> I thought I killed that off once > <jnthn> I did in 539b5f44ef3f pre-xmas > <jnthn> Because I thought it was pretty ridiculous having a non-atomic > CAS in there :/ > <jnthn> I made the mistake of tossing it with something else and it > seems it got restored later as if I did it by accident rather than by > quiet sleight of hand :P > <AlexDaniel> jnthn: can you take care of it now? :) > <jnthn> AlexDaniel: Well, we could actually do with a working cas... > :P > <jnthn> (A few things I'd like to do could use it) > <jnthn> So I'll probably just fix it sometime next year :) > <jnthn> AlexDaniel: Feel free, and mark it [CONC]; I watch the CONC > list for stuff to do :)
This got sorted out. There's now lots of tests that cas really does an atomic compare and swap (e.g. S17-lowlevel/cas.t).


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org