lua-users home
lua-l archive

Re: What's the difference between a "coroutine" and a "thread" in Lua?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gregg Reynolds wrote:
> On 8/10/07, Ana Lucia Moura <analuciadm@gmail.com> wrote:
>> I heartily recommend using "coroutine", the proper denomination for the
>> concept, which was introduced more than 40 years ago :)
> 
> Which concept, coroutines or threads? They're not synonymous.
Just out of interest, under what situations would one use a Lua thread (usual
terminology from the manual), *without* having it also be a coroutine?
- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───────────────────
│
│ "There does not now, nor will there ever, exist a programming language in
│ which it is the least bit hard to write bad programs." --- Flon's Axiom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGvLmSf9E0noFvlzgRAhZkAJ96NViZ7tYy1atZwA78qCxvdkSVfgCeJ8ud
+o5qUou3dYGfGBkGyX9pwRM=
=K165
-----END PGP SIGNATURE-----

AltStyle によって変換されたページ (->オリジナル) /