source: CIVL/text/include/pthread.h@ b18cc45

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

minor correction

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

  • Property mode set to 100755
File size: 809 bytes
RevLine 
[b0dfafb]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
[8a9124e]11#ifdef __PTHREAD__
12#else
13#define __PTHREAD__
14
[b0dfafb]15#include <civlc.h>
16#include <stdio.h>
17#include <stdlib.h>
18#include <assert.h>
19#include <stdbool.h>
20#include <pthread.cvl>
[eae2618]21int pthread_mutex_lock(pthread_mutex_t *mutex);
[903c81e]22void _add_thread(__pthread_pool_t* pool, pthread_t* thread);
[b0dfafb]23#include <pthread-c.cvl>
24
[903c81e]25int pthread_exit(void *value_ptr);
26
[a6d5539]27void __VERIFIER_assume(void *p);
28
29void __VERIFIER_assert(_Bool value);
30
[903c81e]31
[8a9124e]32#endif
Note: See TracBrowser for help on using the repository browser.