开发者

Multithreading libraries for Objective-C [closed]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜