source: CIVL/examples/translation/pthread/funcPointProb.cvl@ c1087dd

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since c1087dd was 289415b, checked in by John Edenhofner <johneden@…>, 12 years ago

Added more tests, modified the Pthread2CIVLTransformer

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

  • Property mode set to 100644
File size: 217 bytes
Line 
1#include <civlc.h>
2
3void * funcA(void *arg){
4 return NULL;
5}
6
7void spawner(void *(start_routine)(void * arg)){
8 $proc t = $spawn start_routine(NULL);
9 $wait(t);
10}
11
12int main(void){
13 spawner(funcA);
14 return 0;
15}
Note: See TracBrowser for help on using the repository browser.