comp.lang.ada
 help / color / mirror / Atom feed
* sorting using dynamic tasks
@ 2000-04-29  0:00 Mark Verstege
  2000-04-30  0:00 ` tmoran
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Verstege @ 2000-04-29  0:00 UTC (permalink / raw)


Hi,

Does anyone know how to implement a sorting algorithm using dataflow
networks with semaphores in Ada? (I know about semaphores, it's the sorting
problem that I can't figure out.)

I'm trying to use semaphores, and get integers from standard input. I am
trying to create dynamicly allocated task types to do it. In other words, I
keep retrieving values and create a binary tree like dataflow of tasks.
When I have all input, then values are sent back up each level one by one,
when the parent task is ready to read the next value.

Regards,
	Mark





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

end of thread, other threads:[~2000-05-03  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-29  0:00 sorting using dynamic tasks Mark Verstege
2000-04-30  0:00 ` tmoran
2000-05-01  0:00   ` Mark Verstege
2000-05-01  0:00     ` tmoran
2000-05-03  0:00       ` Robert Dewar
2000-05-03  0:00         ` Alfred Hilscher
2000-05-03  0:00           ` Ted Dennison
2000-05-03  0:00         ` tmoran

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