BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-IPC-Mmap0.21_1
DragonFlydevel/p5-IPC-Mmap0.21_1
HardenedBSDdevel/p5-IPC-Mmap0.21_1
GhostBSDdevel/p5-IPC-Mmap0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.21_10.21_10.21_10.21_10.21_1
FreeBSD:14:quarterly0.21_10.21_1n/a0.21_10.21_1
FreeBSD:15:latest0.21_10.21_1n/a0.21_10.21_1
FreeBSD:15:quarterly0.21_10.21_1n/an/an/a
FreeBSD:16:latest0.21_10.21_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
IPC-Mmap-0.21.tar.gz119701d325af5a604f24648631c7778a7055064298b6467297c1520f9c9220ecc49e0
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.