From: Joe on
Hi,

If I need to run one or more instances of an algorithm simultaneously
without
one interfering with the other, what do you guys suggest that I should read
about?

The code has to be done strictly in ANSI C and it should be able to run on
any
platform independent of hardware and OS.

Thank you.



From: Richard Owlett on
Joe wrote:
> Hi,
>
> If I need to run one or more instances of an algorithm simultaneously
> without
> one interfering with the other, what do you guys suggest that I should
> read about?
>

*LOL* How about reading post before hitting send.
From: Jerry Avins on
On 6/1/2010 12:07 PM, Joe wrote:
> Hi,
>
> If I need to run one or more instances of an algorithm simultaneously
> without
> one interfering with the other, what do you guys suggest that I should
> read about?
>
> The code has to be done strictly in ANSI C and it should be able to run
> on any
> platform independent of hardware and OS.
>
> Thank you.

Multithreading. Reentrancy.

Jerry
--
Engineering is the art of making what you want from things you can get.
�����������������������������������������������������������������������
From: Joe on
>
> *LOL* How about reading post before hitting send.

Can you elaborate on your amusement?

From: Richard Owlett on
Joe wrote:
>>
>> *LOL* How about reading post before hitting send.
>
> Can you elaborate on your amusement?
>

There's a idiomatic French expression, which when over literally
translated to English comes out as "What does that wish to say?".
The "lol" was in memory of questions I asked decades ago.
Classic was "Why don't we get rid of BOTH sidebands?"

Extra Credit Question:
What does my answer have in common with Jerry's. Other than that
his has more similarities to what you expected.

Hint:
Although you and I both snipped a portion of the other's post,
what was different.