source:
CIVL/mods/dev.civl.abc/examples/contract/mpi_contract_requirement_guarantee-bad.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 314 bytes | |
| Line | |
|---|---|
| 1 | #pragma CIVL ACSL |
| 2 | |
| 3 | int nprocs; |
| 4 | |
| 5 | /*@ requires \absentof \sendfrom(0 .. (nprocs-1), 0) \after \exit(0 .. nprocs-1) \until \exit; |
| 6 | @ ensures \absentof \exit \after \enter \until \enter(root); |
| 7 | @ ensures \absentof \sendfrom(0 .. (nprocs-1), 0) \after \exit(0 .. nprocs-1) \until \exit; |
| 8 | @*/ |
| 9 | int gather(int root); |
Note:
See TracBrowser
for help on using the repository browser.
