Mercurial > hg > Members > nobuyasu > Spin
view Samples/p342.pftp.ses1.h @ 2:a2dac3fa7383 draft default tip
add Makefile
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 29 Jun 2012 06:22:47 +0900 |
parents | 86e67be8bc5f |
children |
line wrap: on
line source
/* * PROMELA Validation Model * Session Layer */ #include "p337.defines2.h" #include "p337.user.h" #include "App.F.present.h" #include "p337.session.h" #include "p337.fserver.h" init { atomic { run userprc(0); run userprc(1); run present(0); run present(1); run session(0); run session(1); run fserver(0); run fserver(1); flow_to_ses[0] = ses_to_flow[1]; flow_to_ses[1] = ses_to_flow[0] }; atomic { byte any; chan foo = [1] of { byte, byte }; ses_to_flow[0] = foo; ses_to_flow[1] = foo }; end: do :: foo?any,any od }