Skip to content

Thread safety of Trackers #181

@soelderer

Description

@soelderer

Hello! I have to sample the position of an I/O device with 1kHz during the trials. Decreasing the fixed timestep causes lag spikes because the hardware plugin chokes.

I'm therefore trying to implement a dedicated sampling thread. Is it safe to call RecordRow() from another thread if the Tracker's UpdateType is set to Manual or does this interfere with some internal data wrangling?

If it's not safe, I'd be super glad if you could give a hint on the critical parts that I should take a look at.

Thanks in advance! Best,
Paul

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