AnsweredAssumed Answered

vrf Not So Atomic (Followup: Simultaneous Execution of Func tions)

Question asked by reiner.schlieker on Jun 22, 2005
This exactly illustrates the difference between calling functions from Call
boxes vs. a Formula box - with a Call box the functions can run
simultaneously (assuming that you're not calling the same function) but a
Formula box call always waits until the formula completes before continuing.

VEE help says a call box runs Asynchronously unless it's a remote or
compiled function (or you're running < VEE 4)

Regards,

Reiner

-----Original Message-----
From: SPANGENBERG,SASCHA (A-Scotland,ex1)
[mailto:sspangenberg@agilent.com]
Sent: Thursday, June 23, 2005 4:56 AM
To: VRF
Subject: [vrf] Not So Atomic (Followup: Simultaneous Execution of
Functions)


<<NotSoAtomic_basic.vee>> Hi -

This build on Per Sorensen's example how to execute several functions
simultaneously...

I think someone mentioned something about atomic operations a while back
when I enquired about this so based on that I call my example "Not So
Atomic", yet
I have no idea what I am talking about really

In the example..

Run_Working executes three functions simultaneously by means of function
call boxes.

Run_Notworking tries the same but with Formular boxes which should call
the functions.
(I would like to pass parameters to the functions so a formular box call
would be easier to use,
the example does not deal with parameters as it is just illustrating
the underlying problem)

When showing the Execution Flow one can see how Run_NotWorking gets
stuck on one function yet I
would have expected it to execute all three threads at the same time.

Can someone explain why the formular box version fails?


Sascha.

---
You are currently subscribed to vrf as: reiner.schlieker@siemens.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes