-
Notifications
You must be signed in to change notification settings - Fork 473
Merge darwin/libdispatch-890 to master #254
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
Conversation
Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
Signed-off-by: Daniel A. Steffen <das@apple.com>
399235f
to
a21d179
Compare
@swift-ci please test |
// _swift_apply_current_root_queue() { | ||
// return DISPATCH_APPLY_CURRENT_ROOT_QUEUE; | ||
// } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this also be taken out of src/swift/Queue.swift in the overlay? There's a silgen directive for this symbol towards the bottom of that file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, good point, thanks!
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took a quick scan; didn't see anything that was an obvious Linux problem. Did not look at Darwin-specific files or try to deeply understand the semantics of the wlh changes.
Had one comment about src/swift/Queue.swift (removing silgen for function removed from DispatchStubs).
@dgrove-oss thanks! removed that obsolete symbol in b9b44c3 would you mind giving this branch a local sanity check on your setup? I fixed all the build errors that the CI found but it hit some weird errors that I think are unrelated but it would be good to be sure, given the size of the change and how close we are to the next 4.0 tag. FWIW my plan is to merge master back into swift-4.0 branch after we have merged this PR |
@swift-ci please test |
It's crashing for me on pretty much every dispatch test that uses non-overcommit queues. Here's the backtrace. I'd assume it is something relatively simple, but I might not have a chance to dig into it until later tonight. Have to leave work a bit early today.
|
ugh, thanks, we should be able to figure that one out by source inspection |
@dgrove-oss 7de6bba should fix it, please have another go, thanks! |
@swift-ci please test |
looks like the CI was happy this time, so the previous failures may have been (non-obviously) a consequence of that crash |
Confirmed. The test suite runs cleanly for me as well. |
awesome, thanks for confirming Dave! I'll squash and merge |
define WORKQ_ADDTHREADS_OPTION_OVERCOMMIT for DISPATCH_USE_INTERNAL_WORKQUEUE remove unused _swift_dispatch_apply_current_root_queue symbol remove duplicate _dispatch_adopt_wlh_anon() in _dispatch_mgr_thread(), this is already set by its caller _dispatch_root_queue_drain() Signed-off-by: Daniel A. Steffen <das@apple.com>
7de6bba
to
835418a
Compare
…aster Merge darwin/libdispatch-890 to master Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
Merge tag darwin/libdispatch-890 on darwin/trunk
This includes the latest Apple source drop libdispatch-890 (up from libdispatch-806), on top of darwin/darwin-008 already merged in #252