Commit b9d342f
Cleanup of kevent usage
- reduce kevent64 to kevent usage: implies time management in
dispatch_timers_program2 moves from absolute to relative and to msecs
as that's what kevent can handle right now
- properly defined NOTE_xxxxx macros
- configure.ac change to define HAVE_KEVENT64
Squashed commit of the following:
commit dfe7b8bb653f10980a080cf31c3f58e3916f9003
Merge: e25ec26 6293e78
Author: Hubertus Franke <[email protected]>
Date: Wed Dec 9 15:38:11 2015 -0500
Merge branch 'linux-port-hdd' of github.ibm.com:ibmswift/swift-corelibs-libdispatch into linux-port-hdd
commit e25ec26237ec4858d01858fa8fffd590e279502b
Author: Hubertus Franke <[email protected]>
Date: Wed Dec 9 15:37:38 2015 -0500
reduce the impact of kevent64
commit 6293e783cb6daa5b01299e881e754e289c0331e2
Author: David Grove <[email protected]>
Date: Wed Dec 9 17:59:59 2015 +0000
kqueue check now also looks for kevent64 and sets config.h accordingly
commit 53a8aa662fadc69edc20f94b4ac4835b2b45b261
Merge: b02031c cff30c4
Author: David Grove <[email protected]>
Date: Wed Dec 9 15:16:21 2015 +0000
Merge branch 'linux-port-hdd' of github.ibm.com:ibmswift/swift-corelibs-libdispatch into linux-port-hdd
commit cff30c420e419ad6f6aac4343816b29c43c2123b
Author: Hubertus Franke <[email protected]>
Date: Wed Dec 9 06:59:09 2015 -0500
check only one event is returned in kevent() call to allow type coercion
commit 884bd367f29effd0d8b45383d106187a5729ab7e
Author: Hubertus Franke <[email protected]>
Date: Tue Dec 8 22:58:41 2015 -0500
kevent64 shim turns time negative in absolute to relative conversion. Checked for it
commit e48115bb8d61aba2dd9bc1f7f3686a16ce175b7a
Author: Hubertus Franke <[email protected]>
Date: Tue Dec 8 21:49:29 2015 -0500
fix periodic timers through kevent rewrite and fix definition for linux
commit b02031c5f63ca5d861578e1dfd1691473f05d960
Merge: 7f64b1c 14f0250
Author: David Grove <[email protected]>
Date: Sun Dec 6 19:21:44 2015 +0000
Merge branch 'master' of github.com:apple/swift-corelibs-libdispatch into linux-port-hdd
commit 7f64b1ce5e7187d1aed701291ccd1ffb18c51127
Author: David Grove <[email protected]>
Date: Sat Dec 5 16:55:30 2015 +0000
fix mistake made in merge
commit d2f10b35667ae3009786380b5b31d32212b218a0
Merge: fae40d1 394d9a1
Author: David Grove <[email protected]>
Date: Sat Dec 5 16:38:51 2015 +0000
Merge branch 'master' into linux-port-hdd
commit fae40d1f124a117cba19e629675bafafafce1734
Merge: a93074c acd56f6
Author: David Grove <[email protected]>
Date: Fri Dec 4 20:49:43 2015 +0000
Merge branch 'master' into linux-port-hdd
commit a93074c49638210f60590b1da8ba6d8e42a258a1
Author: David Grove <[email protected]>
Date: Fri Dec 4 20:44:13 2015 +0000
cleanups
commit 10b9e9432c7e6adca23261d50268097421d809dc
Author: David Grove <[email protected]>
Date: Fri Dec 4 20:36:14 2015 +0000
don't add os/base.h
commit bc04960c65476146a1cfefeb7ea59a4bc825fbad
Author: David Grove <[email protected]>
Date: Fri Dec 4 20:27:25 2015 +0000
WIP cleanup
commit b741481765bbf53e9981a8b878a387087f6a3150
Author: David Grove <[email protected]>
Date: Fri Dec 4 20:02:14 2015 +0000
addressing commenrts from pull request
commit 6de4767752218cc04b3ee77d813075d8bcb18b8c
Author: David Grove <[email protected]>
Date: Fri Dec 4 18:08:40 2015 +0000
use __APPLE__ instead of HAVE_MACH
commit f87caf9cab9b1e8556ac99161e516e99b3eaaa3a
Author: David Grove <[email protected]>
Date: Fri Dec 4 18:05:06 2015 +0000
Copy BSD sys/queue.h to shims/sys_queue.h and remove HACK around SAFE macros
commit e3652d6da8fdaaff7dff34083db42b0d12f29c60
Author: David Grove <[email protected]>
Date: Fri Dec 4 16:26:21 2015 +0000
Expand comments and reorganize; remove mistaken redefine of DISPATCH_EXPORT macros
commit dd656bec9727b0487ee7336e93ffe2e847d5636d
Author: David Grove <[email protected]>
Date: Thu Dec 3 22:20:46 2015 +0000
revert back to matching kevent64_s definition from OS X man page for kevent
commit 02616b0cb6bb239e1a0df453bc64e8e86a4fd038
Merge: 2453edc 650f82a
Author: Hubertus Franke <[email protected]>
Date: Thu Dec 3 17:04:24 2015 -0500
merged conflicts
commit 2453edc4f20d008b309981d27cd681fb9c325b85
Author: Hubertus Franke <[email protected]>
Date: Thu Dec 3 17:00:27 2015 -0500
fixed kevent, running till dispatch with bugs still in queue counts
commit 650f82a41478749b11353c81d810fdc13b94522b
Author: David Grove <[email protected]>
Date: Thu Dec 3 01:16:32 2015 +0000
license headers on added files
commit 16d8a2cde8521e133c79579ca1fdc412a6dbcf9c
Author: David Grove <[email protected]>
Date: Wed Dec 2 22:26:40 2015 +0000
fix stubbed functions to have the right prototype and abort in their bodies when called
commit a6ede63da17adff79ddbdb3d70ba88b7a663c1d8
Author: David Grove <[email protected]>
Date: Wed Dec 2 17:07:16 2015 +0000
update stubs and typedefs after merge of pull-request 2 from master
commit f38ebb9ec0b6319a2bcd3f038d1f5c986b3bad74
Author: David Grove <[email protected]>
Date: Wed Dec 2 17:05:57 2015 +0000
remove workaround; type now defined in proper header file
commit e0f0522924cfcea7742c2305eac06c07e497b4c6
Merge: 8d8bb46 39ac720
Author: David Grove <[email protected]>
Date: Wed Dec 2 16:46:42 2015 +0000
Merge branch 'master' into linux-port-hdd
commit 8d8bb462e8be1e1c1b79f21f5b61863d009c4fde
Author: David Grove <[email protected]>
Date: Wed Dec 2 01:40:23 2015 +0000
stub out missing functions and statics with dummy definitions
commit 9f4f1032979f49e7f7102264d9cdac73ae4feea1
Author: David Grove <[email protected]>
Date: Tue Dec 1 16:02:11 2015 +0000
Update list of header files to be installed for dispatch and os.
Move stubs.h to stubs_internal.h and include it from internal.h
(so we don't need to install stubs to get a complete set of header files).
commit 9a39fefeb1f5279bceb3592e01f4a453dbd55355
Author: David Grove <[email protected]>
Date: Mon Nov 30 21:52:38 2015 +0000
clang on linux just ignores -compatibility_version instead of failing
with an unknown error message (despite the fact that ld won't actually
understand the argument, so linking will actually fail in the end).
This is a hack to generate workable makefiles; it may not be the right fix...
commit efa2a28b8122ff02d0abccae6562260cdb9f22a1
Author: David Grove <[email protected]>
Date: Mon Nov 30 21:51:59 2015 +0000
ignore .la files
commit 35984ca0a829b5be4b3be927a8ad744074010bd9
Author: David Grove <[email protected]>
Date: Mon Nov 30 21:34:28 2015 +0000
WIP on getting code to compile
commit 2ab2c26d6a76273ee05cb5fa26f4eff5ad9d9910
Author: David Grove <[email protected]>
Date: Mon Nov 30 21:04:26 2015 +0000
slightly suspect changes to get semaphore.c to compile.
The existing code was clearly wrong, but this might not be
the right way to fix it either...
commit d7fe4b08720d194fe8379f38b41c0130c241ad9b
Author: David Grove <[email protected]>
Date: Mon Nov 30 20:48:04 2015 +0000
tweaks to get it to compile
commit da3b73d2e60d47f705e45c2182094c08fbd5aaaa
Author: David Grove <[email protected]>
Date: Mon Nov 30 19:06:27 2015 +0000
WIP on stubbing out missing pieces to get code to compile
commit 4f9b58c1ed3617fda781dffe85b1cbe28837e912
Author: David Grove <[email protected]>
Date: Mon Nov 30 18:06:33 2015 +0000
synthesize declarations of missing observer types
commit fdeae8a0fa231b25c43d2217f9d40d4c0c38c4d4
Author: David Grove <[email protected]>
Date: Mon Nov 30 18:05:58 2015 +0000
guard include of mach.h with HAVE_MACH
commit f013a9933d05b46e03fa49db121e6610282a2e4c
Author: David Grove <[email protected]>
Date: Mon Nov 30 18:05:02 2015 +0000
ignore autotools and libtool generated files
commit f22bc4b5be3bc7c49e92b392192ebd915f116a15
Author: David Grove <[email protected]>
Date: Mon Nov 30 18:02:50 2015 +0000
header files to stub out types/functions for linux port
Signed-off-by: Daniel A. Steffen <[email protected]>1 parent 8caced6 commit b9d342f
4 files changed
+150
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
141 | 145 | | |
142 | 146 | | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
88 | 86 | | |
89 | | - | |
90 | | - | |
| 87 | + | |
91 | 88 | | |
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
101 | 109 | | |
102 | 110 | | |
103 | 111 | | |
| |||
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 140 | | |
136 | 141 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
81 | 133 | | |
82 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
83 | 175 | | |
84 | 176 | | |
| 177 | + | |
| 178 | + | |
85 | 179 | | |
86 | 180 | | |
87 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1858 | 1858 | | |
1859 | 1859 | | |
1860 | 1860 | | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
1861 | 1870 | | |
1862 | 1871 | | |
1863 | 1872 | | |
1864 | 1873 | | |
1865 | 1874 | | |
1866 | 1875 | | |
1867 | | - | |
| 1876 | + | |
1868 | 1877 | | |
1869 | 1878 | | |
1870 | 1879 | | |
| |||
1881 | 1890 | | |
1882 | 1891 | | |
1883 | 1892 | | |
1884 | | - | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
1885 | 1902 | | |
1886 | 1903 | | |
1887 | | - | |
| 1904 | + | |
1888 | 1905 | | |
1889 | 1906 | | |
1890 | | - | |
| 1907 | + | |
1891 | 1908 | | |
1892 | 1909 | | |
1893 | 1910 | | |
| |||
0 commit comments