Skip to content

Tracy and coroutines #936

Description

@Sven-v-Beuningen

I'm currently working on a c++20 coroutine based JobSystem.
The JobSystem schedules coroutines on multiple threads. Calls to co_await can suspend the current coroutine and the JobSystem schedules another coroutine on the same thread. Later on the scheduler returns to the co_awaited coroutine.
Because of this it can happen that a coroutine is suspended and resumed multiple times.
I tried to use Tracy with this system, but always get "Zone is ended twice" error.
Is there anything I can do about that, or does Tracy just not support using coroutines?

Thank you very much in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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