./devel/p5-Coro, Perl module for threads

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.52nb1, Package name: p5-Coro-6.52nb1, Maintainer: pkgsrc-users

This module collection manages continuations in general, most often
in the form of cooperative threads (also called coros, or simply
"coro" in the documentation). They are similar to kernel threads
but don't (in general) run in parallel at the same time even on SMP
machines. The specific flavor of thread offered by this module also
guarantees you that it will not switch between threads unless
necessary, at easily-identified points in your program, so locking
and parallel access are rarely an issue, making thread programming
much safer and easier than using other thread models.


Required to run:
[lang/perl5] [devel/p5-AnyEvent] [devel/p5-common-sense] [devel/p5-EV] [devel/p5-Canary-Stability]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: c1ed90320805da5468b5797388dc1c17c2d6b758
RMD160: de0a08b448b3a69f11057df368e4e4e23551bcad
Filesize: 191.78 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2018-08-21 12:59:18 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Coro: update to 6.52.

6.52  Tue Aug 14 18:49:43 CEST 2018
	- libcoro update: allow sharing of coro threads using the pthreads
          backend among different pthreads, as is required by Coro::Multicore.
	- always allow ->call and ->eval when the coro is the current coroutine. this
          makes it possible, among other things, to call these on $Coro::main.
	- minor code cleanups.
   2017-09-27 17:34:05 by Thomas Klausner | Files touched by this commit (3)
Log message:
devel/p5-Coro: import p5-Coro-6.514

This module collection manages continuations in general, most often
in the form of cooperative threads (also called coros, or simply
"coro" in the documentation). They are similar to kernel threads
but don't (in general) run in parallel at the same time even on SMP
machines. The specific flavor of thread offered by this module also
guarantees you that it will not switch between threads unless
necessary, at easily-identified points in your program, so locking
and parallel access are rarely an issue, making thread programming
much safer and easier than using other thread models.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-02-13 15:00:02 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
(pkgsrc)
 - Drop patch-Colo_ecb.h
   (It was "Use __builtin_unreachable on Clang instead of the broken C11 \ 
hack.",
   and now upstream takes care.)

(upstream)
 - Update 6.41 to 6.42
-------------------
6.42 Wed Feb 11 20:29:52 CET 2015
     - Coro::SemaphoreSet->try did not actually work (analyzed by
       SATO Kentaro).
     - upgrade libecb to be C11 compliant.
   2015-01-29 01:48:51 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
Update 6.39 to 6.41
6.41 Sat Sep  6 22:08:46 CEST 2014
        - restore portability to perl 5.8.x.
        - give new Coro's a valid GvHV(PL_hintgv) - this is slow and takes
          up some memory, but fixes "use feature" and similar modules
          when used inside a Coro.
        - allow zero as argument to Coro::Channel to mean the same thing
          as no argument. this works with older versions as well,
          but wasn't legal until now.
        - slightly better c header file detection.
   2014-11-10 19:09:11 by Joerg Sonnenberger | Files touched by this commit (12)
Log message:
Use __builtin_unreachable on Clang instead of the broken C11 hack.
   2014-06-26 00:30:54 by Amitai Schlair | Files touched by this commit (2) | Package updated
Log message:
Update to 6.39. From the changelog:

- work around more incompatible changes in 5.20.
- check that perl slots actually have enough space to hold
  interpreter variables.
- untested port to perl 5.19 (64 bit tmps indices) (reported
  by Andreas König).
- croak when cancel is called without a thread context.
- *sigh*, removed leftover debugging code from debugging a
  perl bug, of all things.
- semaphores would not clear the destroy hook when interrupted
  by ->throw, causing segfaults or worse.
- ->throw on a thread waiting for a semaphore did not acquire
  the semaphore, but also didn't wake up other waiters,
  possibly causing a deadlock.
- "FATAL: $Coro::IDLE blocked itself" will now use Carp::confess
  to report a full stacktrace, which should help find out
  where the actual call is.
- "atomically" destroy data in slf_destroy, because it is
  the right thing to do, just in case.
- disable ecb.h libm dependency, to compile on ancient systems
  or under adverse conditions.
- do not crash when freeing padlists with holes (in 5.18).
- tentative SVt_BIND 5.19 port/fix.
- use a new algorithm to derive padlists for perl 5.18. The old
  one could lead to 0-pointer accesses inside perl (reported
  by Darin McBride).

Not a leaf, but this update should fix a handful of depending
packages, and at least one of those passes its tests against this
version.