Mojo::...v1::PID(3pm)
π Mojo::IOLoop::ReadWriteProcess::CGroup::v1::PID π
okay bestie, so this is the Mojo::...v1::PID(3pm) page β the manual for Mojo::IOLoop::ReadWriteProcess::CGroup::v1::PID, aka the CGroups v1 PID Controller. yes it's a whole mouthful of a name, we love that for it π
β¨ SYNOPSIS β¨
like, here's the vibe in code form:
use Mojo::IOLoop::ReadWriteProcess::CGroup::v1;
my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v1->new( name => "test" );
$cgroup->pid->current;
that's it, that's the whole moment π
πΈ DESCRIPTION πΈ
so here's the tea: this module uses features that are only available on Linux, periodt. no macOS, no BSD, sorry babes π«Ά
and on top of being Linux-only, it requires cgroups and the capability for unshare syscalls to achieve pid isolation β¨ it's giving very "root energy, but make it containerised" π
π¦ METHODS π¦
ngl, the flex here is inheritance: Mojo::IOLoop::ReadWriteProcess::CGroup::v1::PID inherits all methods from Mojo::EventEmitter and implements the following new ones π
...and that's genuinely the whole list of new ones right there. iconic behaviour, no notes π
π LICENSE π
Copyright (C) Ettore Di Giacinto.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so like β free as in go wild, but same terms as Perl itself, bestie. don't be weird about it πΈ
π AUTHOR π
Ettore Di Giacinto <edigiacinto@suse.com>
give them their flowers fr fr π
and that's the whole page, babe β perl v5.42.0, dated 2025-07-25, straight from the Mojo::...v1::PID(3pm) manual π slay, stay cgrouped, and remember: Linux only or it's not happening π§β¨
π¦ where this page comes from
- fedora 43: perl-Mojo-IOLoop-ReadWriteProcess 1.1.0-2.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms