Opened 4 years ago
#13588 new Tasks
rename lock_sharable and its methods(and mutex methods) in order of concept of std::lock_shared
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost 1.67.0 | Severity: | Cosmetic |
Keywords: | lock_sharable lock_shared | Cc: |
Description
To make compatible with std locks, interprocess shared mutexes and locks classes( and they methods) must be renamed according std SharedMutex concept. see http://en.cppreference.com/w/cpp/concept/SharedMutex.
Example: boost::interprocess::file_lock::lock_sharable to boost::interprocess::file_lock::lock_shared
boost::interprocess::file_lock::unlock_sharable to boost::interprocess::file_lock::unlock_shared
boost::interprocess::file_lock::try_lock_sharable to boost::interprocess::file_lock::try_lock_shared
boost::interprocess::sharable_lock to boost::interprocess::shared_lock
boost::interprocess::sharable_lock::owns to boost::interprocess::shared_lock::owns_lock
and so on...