Commit Graph

28 Commits

Author SHA1 Message Date
Ariel Abreu
f07f265bfb
Add PTK definitions for Darling reserved keys 2023-10-04 23:29:01 -04:00
Thomas A
1cdf76eab5 Update CMake Version To 3.13 2023-07-26 10:32:21 -07:00
CuriousTommy
e71ea45cbb
Merge pull request #1 from darlinghq/update_sources_11.5
Update Sources 11.5 - libpthread
2023-05-12 06:19:09 -07:00
Thomas A
bd8e6aa729 Upload README.md 2023-05-04 10:05:43 -07:00
Thomas A
c912f88a08 Fix Building 2023-05-04 10:04:45 -07:00
Thomas A
1a62ebd828 Restore Darling specific changes 2022-11-20 19:57:28 -08:00
Thomas A
47007e23d5 Update to libpthread-454.120.2 2022-11-20 19:57:28 -08:00
Thomas A
0b5a0da0a8 Fix int-conversion error 2022-11-20 12:16:50 -08:00
Ariel Abreu
2f740bf3eb
Build the new pthread_mutex code 2022-02-23 00:56:00 -05:00
Thomas A
ce07edf76f Update CMake Minimum Version To 3.10 2021-04-11 14:16:28 -07:00
Ariel Abreu
a714da8952
Workaround: use old pthread mutex code
The new mutex code can't be used as-is with the old kernel psynch code; it has a tendency to skip wakeups when used like that. To use it, we'd have to either modify the new mutex code (not what we want), add some hack in the old kernel psynch code (also not what we want), or use the new kernel psynch code.

That last option is really the most preferable one, but the problem is that it requires some fiddling around with the LKM and turnstiles, which I don't want to get into right now (especially given that the LKM is mostly stable right now).

So instead, the workaround is to just keep using the old mutex code.
2021-02-16 23:23:44 -05:00
Thomas A
2361ae27e3 Use generic target 2020-10-04 15:56:46 -07:00
Ariel Abreu
7441e55d9a
Remove unnecessary ifdef
We were just passing the priority wrong
2020-09-27 21:34:41 -04:00
Ariel Abreu
107b60c897
Allocate pthread stuff correctly for Darling
We don't have mach_vm_map or mach_vm_protect, but we can just defer to `mmap` and `mprotect` in libsystem_kernel.
2020-09-23 19:24:19 -04:00
Ariel Abreu
15e21a1216
Some fixes for Darling (so it'll stop crashing) 2020-09-20 18:24:03 -04:00
Ariel Abreu
d7f6de1cbe
Match up compiler definitions with xcodeproj 2020-05-19 21:11:09 -04:00
Ariel Abreu
52ef036af1
libpthread-416.60.2 2020-05-18 09:50:14 -04:00
Ariel Abreu
29f0d2c435
Initial update to clean up include directories
"initial" because there might some additional modifications necessary later on
2020-05-14 12:57:42 -04:00
Thomas A
ab104db5b8 Add partial support for ARM64 2020-05-12 14:41:31 -07:00
Lubos Dolezel
7be6a6e905 New ranlib location 2020-04-17 21:28:40 +02:00
Lubos Dolezel
850530cdb5 Add ____chkstk_darwin 2020-02-28 10:12:55 +01:00
Andrew Hyatt
758a72013d Add missing garbage collection macros to tsd_private.h 2017-07-21 21:22:00 -07:00
Andrew Hyatt
f68cfb6cb5 Create include folder 2017-06-25 14:51:43 -07:00
Andrew Hyatt
eb40eac73c Create an include folder 2017-06-13 18:04:57 -07:00
Lubos Dolezel
8bef25f80c Add missing -nostdinc 2017-03-27 09:41:15 +02:00
Lubos Dolezel
e6dded6c6e Circular build 2017-01-28 00:19:28 +01:00
Lubos Dolezel
6e8bea3aba Work on build 2017-01-25 16:05:57 +01:00
Lubos Dolezel
8922dd3c4f libpthread-218.30.1 2017-01-24 22:19:52 +01:00