Skip to content

Segfault when exporting pin, unless waiting a while after QGpioWatcher thread start #3

Description

@isiloron

When I try to export a pin immediately after starting the QGpioWatcher thread I encounter a segfault when the watcher appends the gpio to the pin list.

My workaround is to wait a while, using QThread::msleep(), after starting the thread, before I start to export pins.

I tried to wait for the isRunning() flag, but it is not enough.

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