Skip to content

Thoughts on avoiding busy waiting / polling ? #303

@DhirajBhakta

Description

@DhirajBhakta

Busy waiting on a Threadsafe Queue with sleep(0.1) is probably spinning off lots of infinite while loops(in different parts of code hogging the CPU (?)
asyncio.queue would probably help here.

( ill check if this is possible atleast for TUI IO class )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions