John Sully
|
f5f4815041
|
Fix mac build breaks
Former-commit-id: 16a89f21dc0beb23b7eb8f2e378d076da918c0d6
|
2019-06-27 15:04:09 -04:00 |
|
John Sully
|
d65ce6fbbc
|
Fix issues with relaxed memory model architectures
Former-commit-id: e37bc4ad40e852b67ee14e5aa87fd2f398f00eed
|
2019-06-17 23:00:12 -04:00 |
|
John Sully
|
049ca9bf58
|
Even the next up thread should sleep in the futex
Former-commit-id: 8b76b01bfe710603bcdc101da6eb27afcee7e1b1
|
2019-06-17 23:00:12 -04:00 |
|
John Sully
|
dd7cbbe730
|
Fallback to a futex if we spin for a long time
Former-commit-id: ec57b4b0248bba671e388a2257b1bd65ed8d0f44
|
2019-06-17 23:00:12 -04:00 |
|
John Sully
|
ff470686df
|
OS X build fixes
Former-commit-id: 1dff223c713cba0b336f34328d223ddd675a3781
|
2019-03-24 18:06:57 -04:00 |
|
John Sully
|
4c82a94f3a
|
comment issue
Former-commit-id: 19956b3807aa6895b438162f39d17db17ef726f4
|
2019-03-21 22:18:48 +00:00 |
|
John Sully
|
c1f7c0bcd5
|
Polarity of the weak flag was wrong. We want to use the strong variant of atomic_compare_exchange always
Former-commit-id: ab9122f2cb910bb5560a9fde16bc3c096ecfb510
|
2019-03-21 22:17:04 +00:00 |
|
John Sully
|
fbe1a6c52a
|
Add debugging stats to the INFO command
Former-commit-id: ac80a5c6a6676f45ac7d460a9cfb02fef8b48d78
|
2019-03-19 22:04:33 -04:00 |
|
John Sully
|
8f452efca3
|
write fastlock_unlock in ASM... because its faster
Former-commit-id: bad73faf28f879d32c4064389b69c83e9474115a
|
2019-03-02 16:47:27 -05:00 |
|
John Sully
|
f446785084
|
Rewrite our spinlock in assembly, pretty big performance improvement
Former-commit-id: 40d7a701feefd36e9e3fdb6d516228c4a70fcf3d
|
2019-02-25 18:21:27 -05:00 |
|
John Sully
|
dbd82f6bfc
|
Lock use after free
|
2019-02-22 21:00:14 -05:00 |
|
John Sully
|
6c6d913a86
|
Remove unnecessary mfences
|
2019-02-22 15:49:22 -05:00 |
|
John Sully
|
2788cf57b0
|
Implement try_lock
|
2019-02-22 01:23:31 -05:00 |
|
John Sully
|
d48cf2494d
|
Change fastlock implementation from naive spinlock to a ticket lock for better fairness and lower peak latency
|
2019-02-21 00:16:47 -05:00 |
|
John Sully
|
8e8abb2ff9
|
Cleanup lock contention, and ensure clients are written to in an unsafe way when the global lock is released
|
2019-02-20 23:30:21 -05:00 |
|
John Sully
|
627c19e02f
|
Multithreading works!
|
2019-02-20 01:20:26 -05:00 |
|
John Sully
|
0914b52ffa
|
Thread safety fixes
|
2019-02-18 22:25:35 -05:00 |
|
John Sully
|
c0eb2e5193
|
Fix recursive fastlock...
|
2019-02-16 14:25:14 -05:00 |
|
John Sully
|
8b7e441997
|
Make the lock recursive, this is because processEventsWhileBlocked may cause us to lock multiple times
|
2019-02-15 14:11:05 -05:00 |
|
John Sully
|
eefa3e9168
|
Fastlock fixes
|
2019-02-10 22:00:19 -05:00 |
|
John Sully
|
bd46c2041e
|
move ae to C++
|
2019-02-10 20:24:11 -05:00 |
|