Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8b499c4

Browse files
author
Alex Belozierov
committed
2 parentsba86268 +dd975cd commit8b499c4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎README.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
#PosixDispatch
2-
A fast, small, efficient analog of GCD in Swift
2+
A cross-platform library written in Swift 5 for multithreading based on[POSIX threads](https://uk.wikipedia.org/wiki/Pthread). It has a similar API to Apple’s[GCD](https://developer.apple.com/documentation/dispatch) and in most cases works much faster.
3+
4+
It consists of the following:
5+
6+
***PLock** - wrapper for POSIX mutex, analog to[NSLock](https://developer.apple.com/documentation/foundation/nslock)
7+
***PCondition** - wrapper for POSIX condition, analog to[NSCondition](https://developer.apple.com/documentation/foundation/nscondition)
8+
***PThread** - wrapper for POSIX thread, analog to[Thread](https://developer.apple.com/documentation/foundation/thread)
9+
***PThreadPool** -[thread pool](https://en.wikipedia.org/wiki/Thread_pool) implementation
10+
***PDispatchQueue** - FIFO queue for serially or concurrently executing tasks, analog to[DispatchQueue](https://developer.apple.com/documentation/dispatch/dispatchqueue)
11+
***PDispatchGroup** - group of tasks for aggregation and synchronization, analog to[DispatchGroup](https://developer.apple.com/documentation/dispatch/dispatchgroup)
12+
***PDispatchSemaphore** -[semaphore](https://en.wikipedia.org/wiki/Semaphore_(programming)) implementation, analog to[DispatchSemaphore](https://developer.apple.com/documentation/dispatch/dispatchsemaphore)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp