Creates a mapping specified by the uid and size
(unique_id: &str, map_size: usize)
| 268 | |
| 269 | //Creates a mapping specified by the uid and size |
| 270 | pub fn create_mapping(unique_id: &str, map_size: usize) -> Result<MapData, ShmemError> { |
| 271 | new_map(unique_id, map_size, true, false) |
| 272 | } |
| 273 | |
| 274 | //Opens an existing mapping specified by its uid |
| 275 | pub fn open_mapping( |