Skip to content

Releases: shareup/synchronized

v4.0.1

19 Mar 14:46
Compare
Choose a tag to compare

Update .swiftformat

4.0.0

04 Nov 22:44
3a07451
Compare
Choose a tag to compare
  • Increased Swift version to 5.7
  • Increased minimum target versions

3.2.0

03 Nov 22:42
32f43e5
Compare
Choose a tag to compare
  • Allow Locked to store non-Sendable elements

3.1.0

22 May 12:33
ab58ad5
Compare
Choose a tag to compare
  • Add Locked<Element> to make it easier to ensure mutable state is only accessed safely.
  • Add bin/format.sh

3.0.0

03 Jun 16:03
f01e4a1
Compare
Choose a tag to compare

Remove SynchronizedDynamic dynamic library.

2.3.0

09 Apr 23:13
Compare
Choose a tag to compare

Expose SynchronizedDynamic dynamic library in addition to the static library.

2.2.0

03 Apr 21:21
3843da8
Compare
Choose a tag to compare

Improve correctness of Lock and RecursiveLock by calling UnsafeMutablePointer.deinitialize() in deinit. Also, potentially improve safety of RecursiveLock by backing it directly with UnsafeMutablePointer<pthread_mutex_t> instead of pthread_mutex_t, which might help avoid problems caused by Swift's ampersand operator.

2.1.0

30 Oct 21:27
e8bbab6
Compare
Choose a tag to compare

Changes tryLocked() to return Bool from to indicate success or failure of acquiring the lock.

2.0.0

17 Jun 10:50
5f3312c
Compare
Choose a tag to compare

Removes the Synchronized protocol in favor of directly exposing Lock and RecusiveLock for use by client.

1.2.1

15 Jun 20:03
2897df4
Compare
Choose a tag to compare

Reduce lock contention when cleaning up locks for deallocated objects.