in reply to OT:A javascript problem.
If you come up with a good mutex construction to synchronize events, please tell me. I have one that seems to work, but kills the CPU and has a race in it. (Which is, however, very unlikely to be tripped.) I would like a better one.
Good luck in your JavaScript exile. But two random notes. First of all JavaScript supports anonymous functions, closures, and all that, so that transfers to and from Perl. The second is the fact that JavaScript objects are basically references to hashes. That little translation may allow you to figure out how to apply a few Perlish tricks to your benefit.
|
|---|