1 /******************************************************************************
2 * Copyright (c) 2000-2014 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 ******************************************************************************/
10 import from lazy_defs all;
11 import from lazy_B all;
13 function f_lazy_Ai( in @lazy integer pl_i, in boolean pl_evalFlag) runs on MyComp {
15 v_i:= pl_i; //expression evaluated
20 function f_lazy_AAi( in @lazy integer pl_i, in boolean pl_evalFlag) runs on MyComp {
21 f_lazy_Ai(pl_i,pl_evalFlag);
24 function f_lazy_ABi( in @lazy integer pl_i, in boolean pl_evalFlag) runs on MyComp {
25 f_lazy_Bi(pl_i,pl_evalFlag);
29 altstep as_lazy_Ai( in @lazy integer pl_i, in boolean pl_evalFlag) runs on MyComp {
30 [pl_evalFlag] PCO.receive {log("valami")}
40 altstep as_lazy_ABi( in @lazy integer pl_i, in boolean pl_evalFlag) runs on MyComp {
41 [pl_evalFlag] PCO.receive {log("valami")}
43 f_lazy_Bi(pl_i,pl_evalFlag);