The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Coro Coro::*"

Coro - the only real threads in perl River stage two • 54 direct dependents • 70 total dependents

For a tutorial-style introduction, please read the Coro::Intro manpage. This manpage mainly contains reference information. This module collection manages continuations in general, most often in the form of cooperative threads (also called coros, or ...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::EV - do events the coro-way, with EV River stage two • 54 direct dependents • 70 total dependents

This module does two things: First, it offers some utility functions that might be useful for threads (although Coro::AnyEvent offers more and more portable functions), and secondly, it integrates Coro into the EV main loop: Before the process blocks...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::BDB - truly asynchronous bdb access River stage two • 54 direct dependents • 70 total dependents

This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. This module implements a thin wrapper around the BDB module: Each BDB request that could block and doesn't get passed a callback will normally block a...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::AIO - truly asynchronous file and directory I/O River stage two • 54 direct dependents • 70 total dependents

This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. This module implements a thin wrapper around IO::AIO. All of the functions that expect a callback are being wrapped by this module. The API is exactly...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::LWP - make LWP non-blocking - as much as possible River stage two • 54 direct dependents • 70 total dependents

This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. This module tries to make LWP non-blocking with respect to other coroutines as much as possible, and with whatever means it takes. LWP really tries ve...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Util - various utility functions. River stage two • 54 direct dependents • 70 total dependents

This module implements various utility functions, mostly replacing perl functions by non-blocking counterparts. Many of these functions exist for the sole purpose of emulating existing interfaces, no matter how bad or limited they are (e.g. no IPv6 s...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::State - first class continuations River stage two • 54 direct dependents • 70 total dependents

This module implements coro objects. Coros, similar to threads and continuations, allow you to run more than one "thread of execution" in parallel. Unlike so-called "kernel" threads, there is no parallelism and only voluntary switching is used so loc...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Event - do events the coro-way, with Event River stage two • 54 direct dependents • 70 total dependents

This module enables you to create programs using the powerful Event model (and module), while retaining the linear style known from simple or threaded programs. This module provides a method and a function for every watcher type (*flavour*) (see Even...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Intro River stage two • 54 direct dependents • 70 total dependents

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Debug - various functions that help debugging Coro programs River stage two • 54 direct dependents • 70 total dependents

This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. This module provides some debugging facilities. Most will, if not handled carefully, severely compromise the security of your program, so use it only ...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Timer - timers and timeouts, independent of any event loop River stage two • 54 direct dependents • 70 total dependents

This package has been mostly obsoleted by Coro::AnyEvent, the only really useful function left in here is "timeout". POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 6: =over is the last thing in the d...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Select - a (slow but coro-aware) replacement for CORE::select River stage two • 54 direct dependents • 70 total dependents

This module tries to create a fully working replacement for perl's "select" built-in, using "AnyEvent" watchers to do the job, so other threads can run in parallel to any select user. As many libraries that only have a blocking API do not use global ...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Handle - non-blocking I/O with a blocking interface. River stage two • 54 direct dependents • 70 total dependents

This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. This module implements IO-handles in a coroutine-compatible way, that is, other coroutines can run while reads or writes block on the handle. It does ...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Signal - thread signals (binary semaphores) River stage two • 54 direct dependents • 70 total dependents

This module implements signals/binary semaphores/condition variables (basically all the same thing). You can wait for a signal to occur or send it, in which case it will wake up one waiter, or it can be broadcast, waking up all waiters. It is recomme...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Socket - non-blocking socket-I/O River stage two • 54 direct dependents • 70 total dependents

This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. This module implements socket-handles in a coroutine-compatible way, that is, other coroutines can run while reads or writes block on the handle. See ...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::RWLock - reader/write locks River stage two • 54 direct dependents • 70 total dependents

This module implements reader/write locks. A read can be acquired for read by many coroutines in parallel as long as no writer has locked it (shared access). A single write lock can be acquired when no readers exist. RWLocks basically allow many conc...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Channel - message queues River stage two • 54 direct dependents • 70 total dependents

A Coro::Channel is the equivalent of a unix pipe (and similar to amiga message ports): you can put things into it on one end and read things out of it from the other end. If the capacity of the Channel is maxed out writers will block. Both ends of a ...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::AnyEvent - integrate threads into AnyEvent River stage two • 54 direct dependents • 70 total dependents

When one naively starts to use threads in Perl, one will quickly run into the problem that threads which block on a syscall (sleeping, reading from a socket etc.) will block all threads. If one then uses an event loop, the problem is that the event l...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Storable - offer a more fine-grained Storable interface River stage two • 54 direct dependents • 70 total dependents

This module implements a few functions from the Storable module in a way so that it cede's more often. Some applications (such as the Deliantra game server) sometimes need to load large Storable objects without blocking the server for a long time. Th...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC

Coro::Specific - manage coroutine-specific variables. River stage two • 54 direct dependents • 70 total dependents

This module can be used to create variables (or better: references to them) that are specific to the currently executing coroutine. This module does not automatically load the Coro module (so the overhead will be small when no coroutines are used). A...

MLEHMANN/Coro-6.57 - 29 Jul 2020 13:10:08 UTC
23 results (0.029 seconds)