Skip to content

compnerd/1324.41.2 updates #584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 30 commits into
base: rokhinip-darwin-libdispatch-1324.41.2-merge-main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8e89295
dispatch: adjust the print specifies to avoid some warnings (NFCI)
compnerd Nov 12, 2021
b78af30
dispatch: silence a warning on Windows (NFC)
compnerd Nov 12, 2021
bd216a1
dispatch: make assertions LLP64 friendly (NFCI)
compnerd Nov 12, 2021
a72dfbd
dispatch: host declaration of `dispatch_pthread_root_queue_observer_h…
compnerd Nov 12, 2021
220b322
dispatch: adjust for LLP64 environments
compnerd Nov 12, 2021
26a5511
dispatch: follow `os/base.h` inclusion pattern
compnerd Nov 12, 2021
7b5aa71
dispatch: exclude workgroup support on non-Apple targets
compnerd Nov 12, 2021
28c3270
os: update unix and windows base.h
compnerd Nov 12, 2021
025bbb4
windows: add a shim for Windows
compnerd Nov 12, 2021
25758bd
dispatch: exclude some mach_port_t usage
compnerd Nov 12, 2021
811b4a1
time: explicitly size the time macros
compnerd Nov 12, 2021
e597c94
dispatch: use reserved spelling for `typeof`
compnerd Nov 12, 2021
093d3a8
private: use `dispatch_qos_class_t` rather than `qos_class_t`
compnerd Nov 12, 2021
48932f3
shims: convert `_dispatch_preemption_yeild` to an expression
compnerd Nov 12, 2021
c1f3660
os: replace `__header_always_inline` with `DISPATCH_ALWAYS_INLINE`
compnerd Nov 12, 2021
956c270
shims: add a definition for `os_atomic_init`
compnerd Nov 12, 2021
0bc1ee2
dispatch: use platform specific paths for setting thread names
compnerd Nov 12, 2021
d5455e1
shims: adopt `_os_atomic_auto_dependency` from osfmk
compnerd Nov 12, 2021
9502860
dispatch: repair the signal thread construction on Windows
compnerd Nov 19, 2021
1ba15ff
dispatch: remove an unused function
compnerd Nov 12, 2021
100c055
private: remove reference to mach.h
compnerd Nov 12, 2021
8979120
dispatch: repair the context for the cooperative root queue
compnerd Nov 13, 2021
fc4eb88
Block: adjust the type constructor for Windows
compnerd Nov 13, 2021
f251ab8
Queue: make the Swift overlay build again
compnerd Nov 13, 2021
9d366f9
Voucher portability fixes.
3405691582 Nov 13, 2021
7e99220
build: add an additional installed header
compnerd Nov 13, 2021
8ca15bc
Fix initializing of dispatch_block_flags_t.
3405691582 Nov 14, 2021
be92ae7
dispatch: explicitly cast to avoid truncation warning
compnerd Nov 19, 2021
c4c3516
dispatch: remove stray `void`
compnerd Nov 19, 2021
ef765a3
shims: add a new HAVE_WAIT_ON_ADDRESS and adopt in locks
compnerd Nov 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
private: use dispatch_qos_class_t rather than qos_class_t
The `qos_class_t` is typealiased as `disaptch_qos_class_t` in
`dispatch/object.h` to allow portability for platforms which do not vend
the type.  Use this to allow building the new interfaces on Windows.
  • Loading branch information
compnerd committed Nov 12, 2021
commit 093d3a8f0c46afbc919977d721f35c4d91f58204
2 changes: 1 addition & 1 deletion private/channel_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ dispatch_channel_create(const char *_Nullable label,
API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0), bridgeos(4.0))
DISPATCH_EXPORT DISPATCH_NOTHROW DISPATCH_NONNULL_ALL
void
dispatch_channel_wakeup(dispatch_channel_t channel, qos_class_t qos_class);
dispatch_channel_wakeup(dispatch_channel_t channel, dispatch_qos_class_t qos_class);

/*! @typedef dispatch_channel_enumerator_handler_t
*
Expand Down
2 changes: 1 addition & 1 deletion private/queue_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ SPI_AVAILABLE(macos(12.0), ios(15.0))
DISPATCH_EXPORT DISPATCH_NONNULL1 DISPATCH_NONNULL2
void
dispatch_async_swift_job(dispatch_queue_t queue, void *swift_job,
qos_class_t qos);
dispatch_qos_class_t qos);

__END_DECLS

Expand Down