Namespaces

Records

Functions

  • SessionId GetNextSessionId ()

    These methods are necessary to maintain id consistency between frame schedulers as sessions

    switch between them. Generates a new global id. Thread-safe.

    Defined at line 19 of file ../../src/ui/scenic/lib/scheduling/id.cc

  • PresentId GetNextPresentId ()

    Generates a new global id. Thread-safe.

    Defined at line 20 of file ../../src/ui/scenic/lib/scheduling/id.cc

  • SessionId PeekNextPresentId ()

    Used for testing. In a general multi-threaded setting, the returned value might become stale

    immediately. Use this only when you know that the calling thread will be the next one to call

    GetNextPresentId().

    Defined at line 22 of file ../../src/ui/scenic/lib/scheduling/id.cc