comp.lang.ada
 help / color / mirror / Atom feed
From: kug1977 <kug1977@web.de>
Subject: Grand Central Dispatch (GCD)
Date: Tue, 15 Sep 2009 00:31:14 -0700 (PDT)
Date: 2009-09-15T00:31:14-07:00	[thread overview]
Message-ID: <26891b3c-d828-4b02-8280-2dc1f8fdc803@31g2000vbf.googlegroups.com> (raw)

Hi,

I'm new to Ada, but this is something, I'm interested in. Apple
released GCD as open source (http://www.macnn.com/articles/09/09/11/
tech.may.encourage.support/) and I asked myself, will the Ada Tasking
benefied from GCD or is this something completely different.

In GCD a task can be expressed either as a function or as a "block".
"Blocks" are an extension to the syntax of C, C++, and Objective-C
programming languages that encapsulate code and data into a single
object in a way similar to a closure.

In my understanding of Ada Tasking, the Ada tasks are no more then OS
threads running a code block, if the OS support threads. The compiler
add system intrinsic code to use the OS' tasking. On the other hand
GCD is a library, so maybe linking against this lib would bring me
this feature; but than in an not Ada like way, I guess.

Thanks
kug1977



             reply	other threads:[~2009-09-15  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15  7:31 kug1977 [this message]
2009-09-15 11:18 ` Grand Central Dispatch (GCD) Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox