Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    285613b8
    DEV-32777: Introduce LLCoros, an LLSingleton registry of named coroutine · 285613b8
    Nat Goodspeed authored
    instances. LLCoros::launch() intends to address three issues:
    - ownership of coroutine instance
    - cleanup of coroutine instance when it terminates
    - central place to twiddle MSVC optimizations to bypass DEV-32777 crash.
    Initially coded on Mac; will address the third bullet on Windows.
    Adapt listenerNameForCoro() to consult LLCoros::getName() if applicable.
    Change LLLogin::Impl::connect() to use LLCoros::launch().
    LLCoros::getName() relies on patch to boost::coroutines::coroutine::self to
    introduce get_id().
    285613b8
    History
    DEV-32777: Introduce LLCoros, an LLSingleton registry of named coroutine
    Nat Goodspeed authored
    instances. LLCoros::launch() intends to address three issues:
    - ownership of coroutine instance
    - cleanup of coroutine instance when it terminates
    - central place to twiddle MSVC optimizations to bypass DEV-32777 crash.
    Initially coded on Mac; will address the third bullet on Windows.
    Adapt listenerNameForCoro() to consult LLCoros::getName() if applicable.
    Change LLLogin::Impl::connect() to use LLCoros::launch().
    LLCoros::getName() relies on patch to boost::coroutines::coroutine::self to
    introduce get_id().
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
lleventcoro.cpp 3.88 KiB