-
Notifications
You must be signed in to change notification settings - Fork 2
/
OSProcess.c
41 lines (32 loc) · 985 Bytes
/
OSProcess.c
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
/***************************************************************************************************************:')
OSProcess.h
Processes handling.
Fabrice Le Bars
Created : 2010-05-24
***************************************************************************************************************:)*/
// Prevent Visual Studio Intellisense from defining _WIN32 and _MSC_VER when we use
// Visual Studio to edit Linux or Borland C++ code.
#ifdef __linux__
# undef _WIN32
#endif // __linux__
#if defined(__GNUC__) || defined(__BORLANDC__)
# undef _MSC_VER
#endif // defined(__GNUC__) || defined(__BORLANDC__)
#include "OSProcess.h"
/*
#ifndef _WIN32
int REALTIME_PRIORITY_CLASS = 99;
int HIGH_PRIORITY_CLASS = 70;
int ABOVE_NORMAL_PRIORITY_CLASS = 60;
int NORMAL_PRIORITY_CLASS = 50;
int BELOW_NORMAL_PRIORITY_CLASS = 40;
int IDLE_PRIORITY_CLASS = 0;
#endif // !_WIN32
*/
//#ifndef _WIN32
//void _ChildEndHandler(int sig)
//{
// wait(NULL);
// return;
//}
//#endif // !_WIN32