Skip to content

thread_local crash #661

Open
Open
@XITRIX

Description

@XITRIX

I don't think it's libnx related issue, but I hope someone here can give me any hint about my issue.

I'm in the progress of porting Skia lib to Switch, and I faced the problem of using thread_local there.
Any property marked as thread_local will just crash on attempt to access to it. As temporary solution I just removed thread_local from Switch compilation because it looks like Skia mostly works in single thread and do not try to share this property between threads for now, but I would like to know, if it's an compiler issue, or Switch does not support it, or I just missed some flag to compiler?

I'll appreciate for any help,
Thanks in advance

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