AnsweredAssumed Answered

vrf Not So Atomic (Followup: Simultaneous Execution of Functions)

Question asked by g.nied on Jun 22, 2005
Hello Sasha,

what you see in your 'Run_NotWorking' function is the atomic execution of functions, where vee performs no task switching while executing. But the reason for that is not that they are called from a formula (in contrast to the call-object) but that you added an formula-control-pin. If you remove that pin   from your formula boxes the tree functions (F1, F2, F3) execute 'simultaneously' again.

best regards,

Georg



Georg Nied  Software-Development  Hansestr. 7  51149 Cologne  Germany
Tel: +49 (2203) 9770915  Fax: +49 (2203) 9770924  E-Mail: info@gn-software.de

-------- Original Message --------
Subject: [vrf] Not So Atomic (Followup: Simultaneous Execution of Functions) (23-Jun-2005 10:56)
From:    sspangenberg@agilent.com
To:      vrf@agilent.com

>  <<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: g.nied@gn-software.de
> 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