Staging
v0.8.1
v0.8.1
Revision 7bbceea6a9ad3d59e6cfcfefedf231b04892006b authored by Sjoerd Mullender on 17 March 1993, 12:09:29 UTC, committed by Sjoerd Mullender on 17 March 1993, 12:09:29 UTC
Compression Library to decompress the images.
1 parent 6b517fd
thread.h
#ifndef _THREAD_H_included
#define _THREAD_H_included
#if defined(__STDC__) || defined(__cplusplus)
#define _P(args) args
#else
#define _P(args) ()
#endif
typedef void *type_lock;
typedef void *type_sema;
#ifdef __cplusplus
extern "C" {
#endif
void init_thread _P((void));
int start_new_thread _P((void (*)(void *), void *));
void exit_thread _P((void));
void _exit_thread _P((void));
type_lock allocate_lock _P((void));
void free_lock _P((type_lock));
int acquire_lock _P((type_lock, int));
#define WAIT_LOCK 1
#define NOWAIT_LOCK 0
void release_lock _P((type_lock));
type_sema allocate_sema _P((int));
void free_sema _P((type_sema));
void down_sema _P((type_sema));
void up_sema _P((type_sema));
void exit_prog _P((int));
void _exit_prog _P((int));
#ifdef __cplusplus
}
#endif
#undef _P
#endif
Computing file changes ...