Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Central Thread Pool #2

Closed
Yevano opened this issue Oct 7, 2013 · 1 comment
Closed

Central Thread Pool #2

Yevano opened this issue Oct 7, 2013 · 1 comment

Comments

@Yevano
Copy link
Owner

Yevano commented Oct 7, 2013

This was going to be done, but was cancelled in part because of the hook system. The better event system described in issue #1. A central thread pool would allow new threads to be spawned arbitrarily, without needing to be managed by the programmer's code. For now, all threads would have to end for the program to terminate. This could possibly be changed in a runtime setting, but I doubt its necessity. Example:

--@import me.threads.MyThread

function MyProgram.main()
    for i = 1, 8 do
        MyThread.new(i):start()
    end
end
@Yevano Yevano closed this as completed Oct 10, 2013
@Yevano
Copy link
Owner Author

Yevano commented Oct 10, 2013

Merged into master as of commit 50.

Yevano pushed a commit that referenced this issue Feb 17, 2014
forgot to add that i guess...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant