Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
4f4a1131
Commit
4f4a1131
authored
May 11, 2016
by
octal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CpuSet: rename isset to isSet to avoid name-collision with an isset system macro
parent
0d104e8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/os.h
include/os.h
+1
-1
src/common/os.cc
src/common/os.cc
+1
-1
No files found.
include/os.h
View file @
4f4a1131
...
...
@@ -36,7 +36,7 @@ public:
CpuSet
&
setRange
(
size_t
begin
,
size_t
end
);
CpuSet
&
unsetRange
(
size_t
begin
,
size_t
end
);
bool
is
s
et
(
size_t
cpu
)
const
;
bool
is
S
et
(
size_t
cpu
)
const
;
size_t
count
()
const
;
cpu_set_t
toPosix
()
const
;
...
...
src/common/os.cc
View file @
4f4a1131
...
...
@@ -112,7 +112,7 @@ CpuSet::unsetRange(size_t begin, size_t end) {
}
bool
CpuSet
::
is
s
et
(
size_t
cpu
)
const
{
CpuSet
::
is
S
et
(
size_t
cpu
)
const
{
if
(
cpu
>=
Size
)
{
throw
std
::
invalid_argument
(
"Trying to test invalid cpu number"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment