Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uasi/concurrent-revisions
An implementation of Concurrent Revisions written in Perl
https://github.com/uasi/concurrent-revisions
Last synced: 17 days ago
JSON representation
An implementation of Concurrent Revisions written in Perl
- Host: GitHub
- URL: https://github.com/uasi/concurrent-revisions
- Owner: uasi
- Created: 2011-10-27T08:11:34.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-29T08:59:08.000Z (about 13 years ago)
- Last Synced: 2024-11-05T20:50:25.018Z (2 months ago)
- Language: Perl
- Homepage:
- Size: 102 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
ConcurrentRev - an implementation of Concurrent RevisionsINSTALLATION
To install this module, run the following commands:perl Makefile.PL
make
make test
make installSYNOPSIS
use ConcurrentRev;my $var = ConcurrentRev::Versioned->new;
$var->value('main');# Here $var->value eq 'main'
my $fork = rfork {
$var->value('fork');
};# Still $var->value eq 'main'
rjoin $fork;
# Now $var->value eq 'fork'
or
use ConcurrentRev qw(rfork rjoin versioned);
versioned my $var;
$var = 'main';my $fork = rfork {
$var = 'fork';
};rjoin $fork;
say $var;
`Coro::*' functions such as `Coro::cede' can be used in the `rfork'
block.DESCRIPTION
FUNCTIONS
rfork
rjoin
versioned
AUTHOR
Tomoki AonumaLICENSE
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.SEE ALSO
Revisions - A programming model for parallelizing conflicting tasks,
http://research.microsoft.com/en-us/projects/revisions/