source: CIVL/examples/languageFeatures/procsEqual.cvl@ bd85fa4

1.23 2.0 main test-branch
Last change on this file since bd85fa4 was 138a3d3, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

added comments

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@731 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 253 bytes
Line 
1/* Example to demonstrate the use of system function equalsTo() that
2 * compares two process references.
3 *
4 */
5#include <civlc.h>
6#include <stdio.h>
7
8void main() {
9 $proc p = $self, q = $self;
10 _Bool result = equalsTo(p,q);
11
12 $assert(result);
13}
Note: See TracBrowser for help on using the repository browser.