comp.lang.ada
 help / color / mirror / Atom feed
* Grand Central Dispatch (GCD)
@ 2009-09-15  7:31 kug1977
  2009-09-15 11:18 ` Georg Bauhaus
  0 siblings, 1 reply; 2+ messages in thread
From: kug1977 @ 2009-09-15  7:31 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-15 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-15  7:31 Grand Central Dispatch (GCD) kug1977
2009-09-15 11:18 ` Georg Bauhaus

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