source: CIVL/text/include/pthread.h@ 59da0e2

1.23 2.0 main test-branch
Last change on this file since 59da0e2 was 9d1875e, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

minor correction to pthread library.

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

  • Property mode set to 100755
File size: 700 bytes
Line 
1/*
2 All specification references correspond to pages in the Standard for Information Technology
3Portable Operating System Interface (POSIX)IEEE Computer Society Base Specifications, Issue 7.
4
5Standard modifications to each translation:
6header files are altered
7errors are changed to assertion violations with appropriate messages
8appropriate definitions are changed to input variables
9*/
10
11#ifdef __PTHREAD__
12#else
13#define __PTHREAD__
14
15#include <civlc.h>
16#include <stdio.h>
17#include <stdlib.h>
18#include <assert.h>
19#include <stdbool.h>
20#include <pthread.cvl>
21#include <pthread-c.cvl>
22
23int pthread_exit(void *value_ptr);
24
25void __VERIFIER_assume(void *p);
26
27void __VERIFIER_assert(_Bool value);
28
29
30#endif
Note: See TracBrowser for help on using the repository browser.