LWN.net Logo

Tornado and Grand Central Dispatch: a quick look

Tornado and Grand Central Dispatch: a quick look

Posted Sep 16, 2009 21:54 UTC (Wed) by ballombe (subscriber, #9523)
Parent article: Tornado and Grand Central Dispatch: a quick look

What is killing wide-spread use of OpenMP is the lack of support for error recovery (restoring the program to a known state).

If an error occurs inside a library you link to in an OpenMP thread, you generally have no way of recovering.

Is GCD better in that regard ?

(By contrast the POSIX thread API let you do a pthread_exit() with a marker value that will notify the caller of the error and also provide a way to cancel the remaining threads)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds