Skip to content

Stdouts of instances is buffered #5

@robryk

Description

@robryk

Instances' stdout is not a terminal, so C stdio library uses a fixed size buffer as opposed to single-line buffer. This causes some output to be lost when an instance segfault or terminates unexpectedly in some other fashion.

It seems that the simplest way to fix this is changing stdout's buffering in zeus_local's initialization (with setvbuf).

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