Releases: swhitty/swift-mutex
Releases · swhitty/swift-mutex
0.0.6 ~Copyable Support
Adds full support for ~Copyable on Darwin and Linux platforms aligning with the Swift 6 definitions;
public struct Mutex<Value: ~Copyable>: ~Copyable { ... }
extension Mutex: @unchecked Sendable where Value: ~Copyable { }
Note:
AllocatedLock
is no longer used byMutex
and has been deprecated. It will be removed in a future release.
0.0.5 Backporting Mutex<Value> renaming package
Renames the package and module. Update you existing imports to import Mutex
.
Adds Mutex
which back ports the Swift 6 Mutex
API to Swift 5.9 and all Darwin platforms.
The non copyable API is not yet supported.
AllocatedLock is now fully compatible with OSAllocatedUnfairLock
Backporting Mutex<Value>
Adds Mutex
which back ports the Swift 6 Mutex
API to Swift 5.9 and all Darwin platforms.
The non copyable API is not yet supported.
AllocatedLock is now fully compatible with OSAllocatedUnfairLock
Swift 5.10
Adds support for Swift 5.10
Windows Support
Adds Windows support via SRWLOCK
Initial Release
0.0.1