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