Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

Implement event handler threads #6

Open
hampusborgos opened this issue Aug 4, 2012 · 0 comments
Open

Implement event handler threads #6

hampusborgos opened this issue Aug 4, 2012 · 0 comments
Milestone

Comments

@hampusborgos
Copy link
Member

Right now, every event spawns a new lua coroutine, which is then immediately destroyed if the handler does not call wait / listen or similar.

This is not ideal. A better solution would be to implement event-handler threads so that coroutines are reused. This would also make it possible to implement LuaJIT support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant