FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Cplusplus_Thread_Lib/COperatingSystemFactory.cpp at master · tdmm/Cplusplus_Thread_Lib · GitHub
tdmm
/
Cplusplus_Thread_Lib
Public
forked from
wyh267/Cplusplus_Thread_Lib
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Cplusplus_Thread_Lib
/
COperatingSystemFactory.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
50 lines (25 loc) · 758 Bytes
Breadcrumbs
Cplusplus_Thread_Lib
/
COperatingSystemFactory.cpp
Copy path
File metadata and controls
executable file
·
50 lines (25 loc) · 758 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
46
47
48
49
50
#
include
"
COperatingSystem.h
"
#
include
"
CLinuxOperatingSystem.h
"
#
include
"
CCountingSem.h
"
#
include
"
CLinuxCountingSem.h
"
#
include
"
CMutex.h
"
#
include
"
CLinuxMutex.h
"
#
include
"
CMsgQueue.h
"
#
include
"
CLinuxMsgQueue.h
"
#
include
"
COperatingSystemFactory.h
"
COperatingSystem *
COperatingSystemFactory::newOperatingSystem
()
{
return
new
CLinuxOperatingSystem
();
}
CCountingSem *
COperatingSystemFactory::newCountingSem
(
unsigned
int
init)
{
return
new
CLinuxCountingSem
(init);
}
CMutex *
COperatingSystemFactory::newMutex
(
const
char
*pName)
{
return
new
CLinuxMutex
(pName);
}
CMsgQueue *
COperatingSystemFactory::newMsgQueue
(
const
char
*pName)
{
return
new
CLinuxMsgQueue
(pName);
}
Back
|
FazBrowse Home
|
New Git URL