A common array
From: Ratson Janiv (janiv_at_013.net.il)
Date: 12/17/03
- Next message: Preben Randhol: "Re: Test"
- Previous message: Frank J. Lhota: "Re: Happy Birthday Ada"
- Next in thread: Stephen Leake: "Re: A common array"
- Reply: Stephen Leake: "Re: A common array"
- Reply: Ratson Janiv: "Re: A common array"
- Reply: Ratson Janiv: "Re: A common array"
- Reply: _at_Fill(NOSPAM)YourBrain.com: "Re: A common array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 18 Dec 2003 00:08:23 +0200
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.
- Next message: Preben Randhol: "Re: Test"
- Previous message: Frank J. Lhota: "Re: Happy Birthday Ada"
- Next in thread: Stephen Leake: "Re: A common array"
- Reply: Stephen Leake: "Re: A common array"
- Reply: Ratson Janiv: "Re: A common array"
- Reply: Ratson Janiv: "Re: A common array"
- Reply: _at_Fill(NOSPAM)YourBrain.com: "Re: A common array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|