ably / ably-cocoa

iOS, tvOS and macOS Objective-C and Swift client library SDK for Ably realtime messaging service
https://ably.com/download
Apache License 2.0
46 stars 25 forks source link

[ECO-4717] Removed semaphore in favour of an atomic property for synchronised access. #1918

Closed maratal closed 6 months ago

maratal commented 6 months ago

Closes #1897

maratal commented 6 months ago

Related https://github.com/ably/ably-cocoa/pull/1100

maratal commented 6 months ago

I am not aware about synchronisation/multithreading functionality in objective/c. But atomic property probably should handle the issue. @maratal it will be great if we can add test for the same.

Thanks @sacOO7, created an issue for this - https://github.com/ably/ably-cocoa/issues/1919