You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift version 4.2 (swift-4.2-CONVERGENCE)
Target: x86_64-unknown-linux-gnu
Tested on a Debian Stretch, with the Ubuntu 16.10 build. Latest CONVERGENCE to date.
Additional Detail from JIRA
Votes
0
Component/s
Foundation
Labels
Bug, Linux
Assignee
None
Priority
Medium
md5: 7a54f49eca0db3556f3dffe3f99fa680
Issue Description:
When using an OperationQueue with the “pure” Swift Foundation, if the queue contains an asynchronous Operation, the waitUntilAllOperationsAreFinished method will not wait for the asynchronous operation to be over.
To test, simply clone the project, and run swift run on a Linux machine. One test fails (testAsync).
I can add a unit test and make a pull request to Swift Foundation if needed. I’ve read the code, and to me it seems the implementation of the OperationQueue is to blame here.
The text was updated successfully, but these errors were encountered:
Environment
Swift version 4.2 (swift-4.2-CONVERGENCE)
Target: x86_64-unknown-linux-gnu
Tested on a Debian Stretch, with the Ubuntu 16.10 build. Latest CONVERGENCE to date.
Additional Detail from JIRA
md5: 7a54f49eca0db3556f3dffe3f99fa680
Issue Description:
When using an
OperationQueue
with the “pure” Swift Foundation, if the queue contains an asynchronousOperation
, thewaitUntilAllOperationsAreFinished
method will not wait for the asynchronous operation to be over.This is demonstrated in this project:
https://gitlab.com/frizlab-demo-projects/swift_operationqueue_test
To test, simply clone the project, and run
swift run
on a Linux machine. One test fails (testAsync
).I can add a unit test and make a pull request to Swift Foundation if needed. I’ve read the code, and to me it seems the implementation of the
OperationQueue
is to blame here.The text was updated successfully, but these errors were encountered: