17 Commits

Author SHA1 Message Date
Theodore Dubois
8579c95a5a Actually use the specified timeout in futex_wait
Fixes #573
2019-12-22 19:22:32 -08:00
Theodore Dubois
996a4b6cbf Add locking around mapping changes in mem_ptr
Fixed #104
2019-11-26 13:05:28 -08:00
Theodore Dubois
c1eb8e2598 Remove low-signal logs for unknown ioctls and shared futexes 2019-10-06 18:36:24 -07:00
Theodore Dubois
a8392d5316 Fix off-by-one signal masks
Apparently these have been broken since the beginning of time.
2019-07-05 23:28:02 -07:00
Theodore Dubois
6904368c7d Store the robust list 2019-05-01 09:45:20 -07:00
Theodore Dubois
fc157975f7 Return errors for futex timeouts 2018-11-14 13:23:38 -08:00
Ryan Hileman
277dd12e49 implement futex timeouts 2018-11-14 12:13:35 -08:00
Theodore Dubois
a44c343449 Use one lock for all futexes 2018-11-10 14:57:45 -08:00
Theodore Dubois
0770d118d5 Fix some mistakes with futexes 2018-11-09 18:59:15 -08:00
Theodore Dubois
7a91160b30 Try a completely different implementation of interrupting waits 2018-11-09 13:56:08 -08:00
Theodore Dubois
3d52f2d01a Make new condition implementation work on Darwin 2018-11-08 19:28:11 -08:00
Theodore Dubois
12ed53a493 Introduce a replacement for pthread conditions and use that to make exit_group work 2018-11-08 18:57:06 -08:00
Theodore Dubois
254f050f3e Initialize the futex hashtable lock 2018-10-28 16:28:28 -07:00
Theodore Dubois
4bb99b163d Fix typo in futex_wake 2018-10-07 19:07:37 -07:00
Theodore Dubois
4a8efe8d01 Make various memory management things shared between threads 2018-10-07 13:02:15 -07:00
Theodore Dubois
0ecd135b92 Don't fail on shared futexes 2018-10-05 16:32:43 -07:00
Theodore Dubois
b9c0f6a47f Add basic futex implementation 2018-04-06 11:01:55 -07:00