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

[Suggestion] Download Queue System #1

Open
CodeforEvolution opened this issue Feb 25, 2021 · 1 comment
Open

[Suggestion] Download Queue System #1

CodeforEvolution opened this issue Feb 25, 2021 · 1 comment

Comments

@CodeforEvolution
Copy link

Hello! This is less of an issue and more a suggestion for a queue system that you mentioned in your TODO file to simplify download handling. For a simple queue implementation, I would take a peak at Haiku's BJob class found in the Support Kit. For convenience, here's a link to the header: https://github.com/haiku/haiku/blob/master/headers/os/support/Job.h

There's also a private JobQueue class, but I'd copy its implementation into your own files as it's still a private class that originated from Haiku's Package Kit: https://github.com/haiku/haiku/blob/master/src/kits/support/JobQueue.cpp

Hope this helps you get started!

@JadedCtrl
Copy link
Owner

Thanks, that looks like just like what I was looking for!

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

No branches or pull requests

2 participants