+20
−1
+5
−0
src/map_owner_mlock.c
0 → 100644
+30
−0
src/map_owner_msync.c
0 → 100644
+37
−0
src/map_owner_munlock.c
0 → 100644
+30
−0
Loading
The wrappers are accessible both as module functions and as methods of
the MapOwner class which is the base class of the numpy array. The two
examples below are identical in behavious:
>>> SharedArray.msync(array, SharedArray.MS_ASYNC)
>>> array.base.msync(SharedArray.MS_ASYNC)