Skip to content
Snippets Groups Projects
  1. Nov 18, 2009
  2. Jul 01, 2009
  3. Jun 04, 2009
    • Nat Goodspeed's avatar
      DEV-32777: Use a canonical boost::coroutines::coroutine signature, relying on · 820d4a20
      Nat Goodspeed authored
      boost::bind() to pass any other coroutine arguments. This allows us to remove
      the LLCoroBase and LLCoro constructs, directly storing a coroutine object in
      our ptr_map. It also allows us to remove the multiple launch() overloads for
      multiple arguments. Finally, it lets us move most launch() functionality into
      a non-template method.
      820d4a20
  4. Jun 03, 2009
    • Nat Goodspeed's avatar
      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
Loading