Skip to content

Timeout doesn't throw TimeoutException #5

@Erhannis

Description

@Erhannis

Looking at the code, it seems like pull_sample(String[], double) should throw a TimeoutException when the pull times out. However, instead I get an empty string "" with a timestamp of 0.0, it seems. Checked by increasing the rate of my stream and confirming the "" disappeared, and decreasing back to where it was and they show up again. Stopping the stream, I get repeated "" in intervals of timeout.

Again, looking at the code, after the call to inst.lsl_pull_sample_str in LSL.java:629, ec still contains 0, suggesting the native code is failing to flag the exception properly. (But, the timeout itself works ok.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions