Skip to content

[Suggestion] Download Queue System #1

Description

@CodeforEvolution

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions