Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
4c30e35b
Commit
4c30e35b
authored
Mar 15, 2019
by
Stefan Behnel
Committed by
GitHub
Mar 15, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2893 from navytux/y/mlock2
include: posix.mman += mlock2, MLOCK_ONFAULT, MCL_ONFAULT
parents
35fe1909
83a5700b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Cython/Includes/posix/mman.pxd
Cython/Includes/posix/mman.pxd
+4
-0
No files found.
Cython/Includes/posix/mman.pxd
View file @
4c30e35b
...
@@ -46,6 +46,10 @@ cdef extern from "<sys/mman.h>" nogil:
...
@@ -46,6 +46,10 @@ cdef extern from "<sys/mman.h>" nogil:
int
munlock
(
const
void
*
addr
,
size_t
Len
)
int
munlock
(
const
void
*
addr
,
size_t
Len
)
int
mlockall
(
int
flags
)
int
mlockall
(
int
flags
)
int
munlockall
()
int
munlockall
()
# Linux-specific
enum
:
MLOCK_ONFAULT
enum
:
MCL_ONFAULT
int
mlock2
(
const
void
*
addr
,
size_t
len
,
int
flags
)
int
shm_open
(
const
char
*
name
,
int
oflag
,
mode_t
mode
)
int
shm_open
(
const
char
*
name
,
int
oflag
,
mode_t
mode
)
int
shm_unlink
(
const
char
*
name
)
int
shm_unlink
(
const
char
*
name
)
...
...
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