Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    98dfba0d
    DRTVWR-476: Wrap boost::fibers::mutex et al. with LLCoros aliases. · 98dfba0d
    Nat Goodspeed authored
    Specifically:
    
    LLCoros::Mutex means boost::fibers::mutex
    LLCoros::LockType means std::unique_lock<boost::fibers::mutex>
    LLCoros::ConditionVariable means boost::fibers::condition_variable
    LLCoros::cv_status means boost::fibers::cv_status
    
    So as not to drag in all of boost::fibers::mutex.hpp or condition_variable.hpp
    for each consumer of llcoros.h, instead #define LLCOROS_MUTEX_HEADER and
    LLCOROS_CONDVAR_HEADER. Those who need them can #include the relevant macro.
    
    Update llcond.h and llthreadsafequeue.h accordingly.
    98dfba0d
    History
    DRTVWR-476: Wrap boost::fibers::mutex et al. with LLCoros aliases.
    Nat Goodspeed authored
    Specifically:
    
    LLCoros::Mutex means boost::fibers::mutex
    LLCoros::LockType means std::unique_lock<boost::fibers::mutex>
    LLCoros::ConditionVariable means boost::fibers::condition_variable
    LLCoros::cv_status means boost::fibers::cv_status
    
    So as not to drag in all of boost::fibers::mutex.hpp or condition_variable.hpp
    for each consumer of llcoros.h, instead #define LLCOROS_MUTEX_HEADER and
    LLCOROS_CONDVAR_HEADER. Those who need them can #include the relevant macro.
    
    Update llcond.h and llthreadsafequeue.h accordingly.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.