comp.lang.ada
 help / color / mirror / Atom feed
* A common array
@ 2003-12-17 22:08 Ratson Janiv
  2003-12-18  2:25 ` Stephen Leake
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Ratson Janiv @ 2003-12-17 22:08 UTC (permalink / raw)


Hi,
I need to write a program that creates a random number of tasks.
I need the tasks to update a common array (1 array for all the tasks).
do I need keep the array updating in critical section (I know that each task
will update a differnet cell in the array), if so how ?
Also I need to write a mechanism that enables the task to perform the check
twice with two differnet parameters, e.g. I call Task X to  check Numer 4 in
the array, and after it finishes, I want it to notify me, and also I want
teh task X to check the 18 Number.

for the decency, I M studying Ada, and it is part of my work, so please try
to help me as much as U can without writing the answers to me, I think some
guide lines will be helpful.

Many Many thanks,
Janiv Ratson.





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

end of thread, other threads:[~2003-12-20 18:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-17 22:08 A common array Ratson Janiv
2003-12-18  2:25 ` Stephen Leake
2003-12-18  3:10   ` Wes Groleau
2003-12-19 15:13     ` Mr. J.
2003-12-20  3:23       ` Wes Groleau
2003-12-19 15:10 ` Ratson Janiv
2003-12-20  9:24 ` Ratson Janiv
2003-12-20 18:06   ` Robert I. Eachus
2003-12-20 18:56 ` @Fill(NOSPAM)YourBrain.com

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