Skip to content

Replace Waiter with hlt #49

@saza-ku

Description

@saza-ku

Now we use Waiter (https://github.com/mewz-project/mewz/blob/main/src/sync.zig#L36) to wait for interruption and data.

But we could replace it with simply hlt, because it stops until an interruption occurs.

To do so, we would avoid exclusion control and save CPU time of host.

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