News for hackers. Stuff that matters.
Re:Why I’m Learning Perl 6 by pierrebai on Wednesday July 26, 2017 @01:57PM (#14858481)
I fail to see how using a semaphore to schedule work in another thread is "lock-free."
Re:Why I’m Learning Perl 6 by rurban on Thursday July 27, 2017 @06:09AM (#14863939)
Because you wait but you don't lock. And the wait is not 100x of an instruction, normally it's the same time as for one single instruction. Writes are fast and atomic, because there's no lock. Only the writer needs to wait a bit, not any other thread.

Google for lock-free vs wait-free