I've seen various generator-based microthread implementations online,\nbut I've been wondering: has anyone used microthreads in this manner in\na game environment? Note, I am emphatically *not* referring to\nStackless, which I know has been used in a production game environment;\nthis post is referring strictly to the standard Python interpreter, (v.\n2.4 or 2.5 as you wish).\n\nI intend to try a little cooperative microthreading implementation in\nmy game server to avoid threading issues and possibly simplify the\nprogramming model. This seems particularly attractive given the\nenhancements Python 2.5 brings to generators.\n\nIf anyone else has tried this, what I would like to know is this:\n\n* How many microthreads were you able to run concurrently with decent\nperformance?\n* How much computation is feasible to carry out in a microthread?\n(Certainly, this goes hand in hand with the previous question, of\ncourse.)\n* What sort of scheduler did you use?\n* Was it worth it? By "worth it," I mean in terms of performance and\nease of implementation.\n\nI'll no doubt have further questions later after I actually begin\nimplementing this stuff, but I suppose that will do for now.\n\nThanks!