devel/p5-IPC-Mmap 0.21_1 FreeBSD
Provides a minimal mmap() interface for both POSIX and Win32
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, perl5
- Package size
- 12.4 KiB, 35.8 KiB installed
Description
Provides an object-oriented interface to either the POSIX mmap() or Win32 equivalent APIs to memory map a file into a process's address space for general memory access. IPC::Mmap provides only a minimal interface without the additional overhead of tie'd variables or locking enforced in other modules (e.g., Sys::Mmap, Win32::MMF); hence, the application is responsible for performing read()'s and write()'s on the IPC::Mmap object, and calling any needed lock() and unlock() methods, as required by concurrent processes.
Memory mapped files provide an alternate shared memory mechanism for multiple processes. The technique maps the OS's file system buffers for a given file into each mmap()'ing process's virtual memory space, thereby permitting each process to essentially share the same physical memory. Refer to the excellent "Advanced Programming in the UNIX Environment", Stevens et al., Addison-Wesley Publisher for a detailed reference on the POSIX implementation. IPC::Mmap provides OS-agnostic wrappers for both the POSIX and Win32 memory mapped file capabilities.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-IPC-Mmap | 0.21_1 |
| DragonFly | devel/p5-IPC-Mmap | 0.21_1 |
| HardenedBSD | devel/p5-IPC-Mmap | 0.21_1 |
| GhostBSD | devel/p5-IPC-Mmap | 0.21_1 |
Install
Binary package:
pkg install p5-IPC-Mmap
From the ports tree:
cd /usr/ports/devel/p5-IPC-Mmap/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-IPC-Mmap>0:devel/p5-IPC-Mmap
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.21_1 | 0.21_1 | 0.21_1 | 0.21_1 | 0.21_1 |
| FreeBSD:14:quarterly | 0.21_1 | 0.21_1 | n/a | 0.21_1 | 0.21_1 |
| FreeBSD:15:latest | 0.21_1 | 0.21_1 | n/a | 0.21_1 | 0.21_1 |
| FreeBSD:15:quarterly | 0.21_1 | 0.21_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.21_1 | 0.21_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%SITE_ARCH%%/IPC/Mmap.pm
- %%SITE_ARCH%%/IPC/Mmap/POSIX.pm
- %%SITE_ARCH%%/IPC/Mmap/Win32.pm
- %%SITE_ARCH%%/auto/IPC/Mmap/Mmap.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| IPC-Mmap-0.21.tar.gz | 11970 | 1d325af5a604f24648631c7778a7055064298b6467297c1520f9c9220ecc49e0 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.