Closed ipavlidakis closed 3 weeks ago
title |
develop |
branch |
diff |
status |
---|---|---|---|---|
StreamVideo | 7.46 MB | 7.46 MB | 0 KB | π’ |
StreamVideoSwiftUI | 2.18 MB | 2.18 MB | 0 KB | π’ |
StreamVideoUIKit | 2.31 MB | 2.31 MB | 0 KB | π’ |
StreamWebRTC | 8.69 MB | 8.69 MB | 0 KB | π’ |
Issues
119 New issues
0 Accepted issues
Measures
0 Security Hotspots
78.5% Coverage on New Code
0.0% Duplication on New Code
π― Goal
Improve our locking mechanisms (used to ensure thread-safe access) and add tests to verify stability.
π Summary
This revision is attempting to align our locking mechanisms (under a single interface) while extending the Atomic property wrapper to be configured with the desired mechanism based on the requirements.
π Implementation
LockQueueing
protocol that will be used as the identifying interface between our locking mechanisms.UnfairQueue
conforms to the newLockQueueing
protocol.RecursiveQueue
that uses aNSRecursiveLock
underneath and conforms toLockQueueing
.Atomic
property wrapper that can now be configured with the desired mechanism.βοΈ Contributor Checklist