开发者

Multithreading libraries for Objective-C [closed]

开发者 https://www.devze.com 2022-12-08 04:03 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow quest开发者_如何转开发ions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

Excluding Cocoa (and its NSThread), what multithreading libraries would you recommend?

The application's engine must run on multiple platforms (Windows, Linux, MacOS, iPhone), and be multithreaded. Abstracting the library to compile against platform-specific MT libraries is possible, but incurs an extra layer of overhead and complexity.


NSOperation works fine. As an added bonus you get a thread pool for free, and can setup a dependency chain between operations.


How about something in the C library area? e.g libapr: http://apr.apache.org/docs/apr/1.3/group__apr__os__thread.html

or glib? http://library.gnome.org/devel/glib/stable/glib-Threads.html

Regards


I would start with Grand Central which was recently open-sourced: http://libdispatch.macosforge.org/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号