Module description is "the only real threads in perl".
Well, this is just scam.
Those are not real threads (if we talk about system programming). Absolutely. Anti-threads.
All modules that uses Coro will segfault if You try to use them. After talking to author of Coro You will learn that it is a feature - not a bug.
a code that is written by not stupid human usually says that there is not enough memory (a example). Coro, EV, etc prefer to crash (segfault) instead usually behavior: You can waste a lot of time to understand that the library requires to do something against to read normal error report.
So I join one previous review: "Author is not very nice"
but don't join that: "the module is great".
code that segfaults if You try to step to the left or the right from example can't be great.
Great module. You could do so much with Coro / AnyEvent. Work of a genius in my opinion.
I came upon this when searching for Semaphores. I couldn't understand why they didn't work. It seemed like each process had it's own copy of the set of semaphores...no IPC (inter-process communication)...then I looked at the source...
it's about threads only!! what a waste of time...
What a waste of programming -- when you can use 'lock' to do the same thing with no cpan module....
I had a semaphore using implementation written but w/o the counters. and stripped it out when I saw this...
The documentation on the semaphore page doesn't make it clear at all that it is only about fake-threads -- not the real threads on windows or on linux.
I need my threads operating on multiple cpu's... you don't get that with fake threads.
Author is not very nice, but the module is great.
Wow, I can't believe no-one had reviewed this module.
In short, this is what Perl Threads should work like. After the fragile-but-fast Perl 5.5 threading thesis, and the slow-but-reliable Perl 5.6 ithreading antithesis, this is the perfect synthesis that gives you a fast and reliable threading model. Highly recommended.
1 hidden unhelpful review