Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>

WEEK'S BEST

  • BackTrack 5 R1
  • Wine 1.2.3 / 1.4 RC3
  • Mozilla Firefox 10...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.3 LTS
  • Linux Kernel 3.2.6
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.1
  • Home > Linux > Programming > Debuggers

    Coro 4.73

    Download button

    No screenshots available
    Downloads: 425  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.1/5)
    28 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Marc Lehmann | More programs
    Perl Artistic License / FREE
    May 29th, 2008, 19:18 GMT
    ROOT / Programming / Debuggers

     Read user reviews (0)  Refer to a friend  Subscribe

    Coro description

    Coro is a large Perl module family that implements cooperative multitasking in Perl.

    Coro is a large Perl module family that implements cooperative multitasking in Perl. It supports filehandle and event abstraction and also implements continuations as well as the necessary directives to implement a slightly limited call/cc in Perl.

    Unlike the so-called "Perl threads/fork emulation", they provide a real shared address space (like real threads) without the associated race conditions and performance loss, while maintaining a very low memory overhead (2-3kb/coroutine). The package comes with examples and many supporting modules.

    SYNOPSIS

    use Coro;

    async {
    # some asynchronous thread of execution
    print "2n";
    cede; # yield back to main
    print "4n";
    };
    print "1n";
    cede; # yield to coroutine
    print "3n";
    cede; # and again

    # use locking
    my $lock = new Coro::Semaphore;
    my $locked;

    $lock->down;
    $locked = 1;
    $lock->up;

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    cooperative multitasking | filehandle support | Perl module | Perl | cooperative | multitasking



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM