https://github.com/macmade/objc-semaphore
Semaphores for Objective-C and Swift
https://github.com/macmade/objc-semaphore
atomicity ios ipc macos mutex objective-c semaphore swift threading
Last synced: about 2 months ago
JSON representation
Semaphores for Objective-C and Swift
- Host: GitHub
- URL: https://github.com/macmade/objc-semaphore
- Owner: macmade
- License: mit
- Created: 2015-06-15T21:54:44.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2021-08-02T22:53:59.000Z (almost 5 years ago)
- Last Synced: 2025-02-05T20:36:18.448Z (over 1 year ago)
- Topics: atomicity, ios, ipc, macos, mutex, objective-c, semaphore, swift, threading
- Language: Objective-C
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Objective-C Semaphore
=====================
[](https://travis-ci.org/macmade/objc-semaphore)
[](https://coveralls.io/r/macmade/objc-semaphore?branch=master)
[](https://github.com/macmade/objc-semaphore/issues)


[](https://twitter.com/macmade)
[](https://patreon.com/macmade)
[](https://www.gratipay.com/macmade)
[](https://paypal.me/xslabs)
About
-----
Semaphores for Objective-C and Swift.
### Swift support
This project is fully compatible with Swift.
In order to use the `Semaphore` class from Swift, simply link with `Semaphore.framework` (ARC target - see below) and:
import Semaphore
### Targets
The following targets are available:
* OS X static library (`.a`).
* OS X dynamic library (`.dylib`).
* OS X framework (`.framework`).
* iOS static library (`.a`).
All targets are available for both ARC and MRC (see below).
### Supported platforms
* OS X deployment target: **OS X 10.6** (ARC - see below), **OS X 10.4** (MRC - see below)
* OS X architectures: **x86_64, i386** (non-ARC - see below)
* iOS deployment target: **iOS 6.0**
* iOS architectures: **armv7, armv7s, arm64**
### Automatic Reference Counting (ARC) Note
All project's targets comes in two flavors.
One using ARC - Automatic Reference Counting, the other using Manual Reference Counting (MRC).
If you're targeting only 64-bits platforms and/or 10.7 deployment targets, you're advised to use the ARC targets.
Otherwise, if targeting 32-bits platforms and/or deployment targets lower than 10.7, MRC targets are available.
License
-------
The project is released under the terms of the MIT License.
Repository Infos
----------------
Owner: Jean-David Gadina - XS-Labs
Web: www.xs-labs.com
Blog: www.noxeos.com
Twitter: @macmade
GitHub: github.com/macmade
LinkedIn: ch.linkedin.com/in/macmade/
StackOverflow: stackoverflow.com/users/182676/macmade