mirror of
https://github.com/apple/swift-system
synced 2026-11-30 05:28:49 +00:00
Reapply "Turn on single issuer as an experiment"
This reverts commit 901f4c80c4.
This commit is contained in:
1 parent
901f4c80c4
commit
283e8d6b7b
1 file changed
+1
@@ -214,6 +214,7 @@ public struct IORing: ~Copyable {
|
||||
|
||||
public init(queueDepth: UInt32) throws {
|
||||
var params = io_uring_params()
|
||||
params.flags = IORING_SETUP_SINGLE_ISSUER //TODO make this configurable
|
||||
|
||||
ringDescriptor = withUnsafeMutablePointer(to: ¶ms) {
|
||||
return io_uring_setup(queueDepth, $0)
|
||||
|
||||
Reference in new issue
Block a user