BSD Ports

devel/p5-Consumer-NonBlock 0.003 FreeBSD

Send data between processes without blocking

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
15.7 KiB, 40.8 KiB installed

Description

It is very easy to end up in a situation where a producer process produces data faster than a consumer process can read/process it resulting in the producer blocking on a full pipe buffer. This module allows 2 processes to share data similar to a pipe, but without the producer blocking due to full pipe buffers.

A pipe is better in most situations, this is only useful if the producer needs to do many things and you cannot afford to block on a consumer. This is used by App::Yath to send data to a comparatively slow database upload process without blocking.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Consumer-NonBlock0.003
HardenedBSDdevel/p5-Consumer-NonBlock0.003
GhostBSDdevel/p5-Consumer-NonBlock0.003

Install

Binary package:

pkg install p5-Consumer-NonBlock

From the ports tree:

cd /usr/ports/devel/p5-Consumer-NonBlock/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Consumer-NonBlock>0:devel/p5-Consumer-NonBlock

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.0030.003--0.003
FreeBSD:14:quarterly0.0030.003n/a-0.003
FreeBSD:15:latest0.0030.003n/a--
FreeBSD:15:quarterly0.0030.003n/an/an/a
FreeBSD:16:latest0.0030.003n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 5
Run dependencies 5

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Consumer/NonBlock.pm
  • %%PERL5_MAN3%%/Consumer::NonBlock.3.gz
distinfo 1
FileSizeSHA256
Consumer-NonBlock-0.003.tar.gz16932117906209393159511954db4d51115444ea9e6a5ea5a2c3c8cdbdcf0c229162d
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.