Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
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
Joshua
wendelin.core
Commits
c443fed3
Commit
c443fed3
authored
Apr 02, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b2f4d43c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
14 deletions
+2
-14
bigfile/_bigfile.c
bigfile/_bigfile.c
+0
-2
bigfile/_bigfile.h
bigfile/_bigfile.h
+1
-1
include/wendelin/compat_py2.h
include/wendelin/compat_py2.h
+1
-11
No files found.
bigfile/_bigfile.c
View file @
c443fed3
...
...
@@ -920,8 +920,6 @@ out:
/* PyBigFile: mmap methods.
* They redirect op X to type.blkmmapper.X without going to Python level */
// XXX make sure not to hold the GIL ?
static
void
*
pybigfile_mmap_setup_read
(
VMA
*
vma
,
BigFile
*
file0
,
blk_t
blk
,
size_t
blklen
)
{
...
...
bigfile/_bigfile.h
View file @
c443fed3
...
...
@@ -110,7 +110,7 @@ typedef struct PyBigFileH PyBigFileH;
* mmapping data. To avoid deadlocks all mmap-related functionality must be
* nogil and so cannot be implemented in Python.
*
*
One example
user of .blkmmapper functionality is _ZBigFile which uses WCFS
*
The primary
user of .blkmmapper functionality is _ZBigFile which uses WCFS
* and mmaps files from it to provide memory mappings for ZBigFile data.
*/
struct
PyBigFile
{
...
...
include/wendelin/compat_py2.h
View file @
c443fed3
...
...
@@ -2,7 +2,7 @@
#define _WENDELIN_COMPAT_PY2_H
/* Wendelin. Python2 compatibility
* Copyright (C) 2014-20
20
Nexedi SA and Contributors.
* Copyright (C) 2014-20
19
Nexedi SA and Contributors.
* Kirill Smelkov <kirr@nexedi.com>
*
* This program is free software: you can Use, Study, Modify and Redistribute
...
...
@@ -102,16 +102,6 @@ static inline PyThreadState * _PyThreadState_UncheckedGet(void)
# error "You are using CPython 3.5.X series. Upgrade your CPython to >= 3.5.2 to get _PyThreadState_UncheckedGet() support."
#endif
/* determine if current thread holds the GIL
* https://stackoverflow.com/a/25666624/9456786 */
#if PY_MAJOR_VERSION < 3
static
inline
int
PyGILState_Check
(
void
)
{
// XXX do we really need it?
abort
();
}
#endif
#ifdef __cplusplus
}
#endif
...
...
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