"WTF:ParkingLot is a portable user-level implementation of the core futex API." https://webkit.org/blog/6161/locking-in-webkit/ …
@justincormack Some properties are interesting but the claim that it's faster than pthread mutexes is nonsense.
-
-
@RichFelker it looks like they are comparing on OSX, and they had a lot of spinlocks before, so comparisons may be skewed -
@justincormack Ah. OSX's threads impl is utterly awful. Infamous for sem_init that corrupts memory instead of doing anything useful.
End of conversation
New conversation -
-
-
@justincormack Size is nice but 1-byte lock struct does not admit recursive mutexes. Need >= log2(max_task_id+1)+log2(max_lock_cnt) bits.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.