File: sigsched.h

package info (click to toggle)
multitee 3.0-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 136 kB
  • ctags: 243
  • sloc: ansic: 1,668; makefile: 31
file content (45 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef SIGSCHED_H
#define SIGSCHED_H

typedef struct
 {
  int type;
  union { int n; char *c; } u;
 }
ss_sig;

typedef struct
 {
  int (*sched)();
  int (*unsched)();
  union { int n; char *c; } u;
 }
ss_extern;

typedef void ss_thread();
typedef int ss_id;
typedef char *ss_idptr;

extern ss_sig *ss_asap();
extern ss_sig *ss_signal();
extern ss_sig *ss_sigread();
extern ss_sig *ss_sigwrite();
extern ss_sig *ss_sigexcept();

extern int ss_addsig();

extern void ss_externsetsig();

extern int ss_schedvwait();
extern int ss_schedwait();
extern int ss_sched();
extern int ss_schedonce();
extern int ss_unschedv();
extern int ss_unsched();

extern void ss_forcewait();
extern void ss_unforcewait();

extern int ss_exec();

#endif