113
|
1 __code createTask1(struct LoopCounter* loopCounter, struct TaskManager* taskManager) {
|
|
2 AtomicT<int>* fork0 = createAtomicTImpl<int>(contex,-1); // model checking : fork0
|
|
3 AtomicT<int>* fork1 = createAtomicTImpl<int>(contex,-1); // model checking : fork1
|
|
4 AtomicT<int>* fork2 = createAtomicTImpl<int>(contex,-1); // model checking : fork2
|
|
5 AtomicT<int>* fork3 = createAtomicTImpl<int>(contex,-1); // model checking : fork3
|
|
6 AtomicT<int>* fork4 = createAtomicTImpl<int>(contex,-1); // model checking : fork4
|
|
7
|
|
8 Phils* phils0 = createPhilsImpl(context,0,fork0,fork1); // model checking : phils0
|
|
9 Phils* phils1 = createPhilsImpl(context,1,fork1,fork2); // model checking : phils1
|
|
10 ...
|