|
132 | 132 | \term{native resolution}.
|
133 | 133 |
|
134 | 134 | \pnum
|
135 |
| -Implementation-provided clocks that are used for these functions shall meet the |
| 135 | +Implementation-provided clocks that are used for these functions shall satisfy the |
136 | 136 | \tcode{TrivialClock} requirements\iref{time.clock.req}.
|
137 | 137 |
|
138 | 138 | \pnum
|
|
891 | 891 | The \defn{mutex types} are the standard library types \tcode{mutex},
|
892 | 892 | \tcode{recursive_mutex}, \tcode{timed_mutex}, \tcode{recursive_timed_mutex},
|
893 | 893 | \tcode{shared_mutex}, and \tcode{shared_timed_mutex}.
|
894 |
| -They shall meet the requirements set out in this subclause. In this description, \tcode{m} |
| 894 | +They shall satisfy the requirements set out in this subclause. In this description, \tcode{m} |
895 | 895 | denotes an object of a mutex type.
|
896 | 896 |
|
897 | 897 | \pnum
|
898 |
| -The mutex types shall meet the \tcode{Lockable} requirements\iref{thread.req.lockable.req}. |
| 898 | +The mutex types shall satisfy the \tcode{Lockable} requirements\iref{thread.req.lockable.req}. |
899 | 899 |
|
900 | 900 | \pnum
|
901 | 901 | The mutex types shall be \tcode{DefaultConstructible} and \tcode{Destructible}. If
|
|
1141 | 1141 | instantiation of \tcode{time_point}\iref{time.point}.
|
1142 | 1142 |
|
1143 | 1143 | \pnum
|
1144 |
| -The timed mutex types shall meet the \tcode{TimedLockable} |
| 1144 | +The timed mutex types shall satisfy the \tcode{TimedLockable} |
1145 | 1145 | requirements\iref{thread.req.lockable.timed}.
|
1146 | 1146 |
|
1147 | 1147 | \pnum
|
|
1330 | 1330 |
|
1331 | 1331 | \pnum
|
1332 | 1332 | The standard library types \tcode{shared_mutex} and \tcode{shared_timed_mutex}
|
1333 |
| -are \defn{shared mutex types}. Shared mutex types shall meet the requirements of |
| 1333 | +are \defn{shared mutex types}. Shared mutex types shall satisfy the requirements of |
1334 | 1334 | mutex types\iref{thread.mutex.requirements.mutex}, and additionally
|
1335 |
| -shall meet the requirements set out below. In this description, |
| 1335 | +shall satisfy the requirements set out below. In this description, |
1336 | 1336 | \tcode{m} denotes an object of a shared mutex type.
|
1337 | 1337 |
|
1338 | 1338 | \pnum
|
|
1484 | 1484 |
|
1485 | 1485 | \pnum
|
1486 | 1486 | The standard library type \tcode{shared_timed_mutex} is a
|
1487 |
| -\defn{shared timed mutex type}. Shared timed mutex types shall meet the requirements of |
| 1487 | +\defn{shared timed mutex type}. Shared timed mutex types shall satisfy the requirements of |
1488 | 1488 | timed mutex types\iref{thread.timedmutex.requirements},
|
1489 | 1489 | shared mutex types\iref{thread.sharedmutex.requirements}, and additionally
|
1490 |
| -shall meet the requirements set out below. In this description, |
| 1490 | +shall satisfy the requirements set out below. In this description, |
1491 | 1491 | \tcode{m} denotes an object of a shared timed mutex type,
|
1492 | 1492 | \tcode{rel_type} denotes an object of an instantiation of
|
1493 | 1493 | \tcode{duration}\iref{time.duration}, and
|
|
1681 | 1681 | object throughout the \tcode{lock_guard} object's lifetime\iref{basic.life}.
|
1682 | 1682 | The behavior of a program is undefined if the lockable object referenced by
|
1683 | 1683 | \tcode{pm} does not exist for the entire lifetime of the \tcode{lock_guard}
|
1684 |
| -object. The supplied \tcode{Mutex} type shall meet the \tcode{BasicLockable} |
| 1684 | +object. The supplied \tcode{Mutex} type shall satisfy the \tcode{BasicLockable} |
1685 | 1685 | requirements\iref{thread.req.lockable.basic}.
|
1686 | 1686 |
|
1687 | 1687 | \indexlibrary{\idxcode{lock_guard}!constructor}%
|
|
1760 | 1760 | object.
|
1761 | 1761 | When \tcode{sizeof...(MutexTypes)} is \tcode{1},
|
1762 | 1762 | the supplied \tcode{Mutex} type
|
1763 |
| -shall meet the \tcode{BasicLockable} requirements\iref{thread.req.lockable.basic}. |
| 1763 | +shall satisfy the \tcode{BasicLockable} requirements\iref{thread.req.lockable.basic}. |
1764 | 1764 | Otherwise, each of the mutex types
|
1765 |
| -shall meet the \tcode{Lockable} requirements\iref{thread.req.lockable.req}. |
| 1765 | +shall satisfy the \tcode{Lockable} requirements\iref{thread.req.lockable.req}. |
1766 | 1766 |
|
1767 | 1767 | \indexlibrary{\idxcode{scoped_lock}!constructor}%
|
1768 | 1768 | \begin{itemdecl}
|
|
1875 | 1875 | \tcode{pm} is not null and the lockable object pointed
|
1876 | 1876 | to by \tcode{pm} does not exist for the entire remaining
|
1877 | 1877 | lifetime\iref{basic.life} of the \tcode{unique_lock} object. The supplied
|
1878 |
| -\tcode{Mutex} type shall meet the \tcode{BasicLockable} |
| 1878 | +\tcode{Mutex} type shall satisfy the \tcode{BasicLockable} |
1879 | 1879 | requirements\iref{thread.req.lockable.basic}.
|
1880 | 1880 |
|
1881 | 1881 | \pnum
|
|
1938 | 1938 | \begin{itemdescr}
|
1939 | 1939 | \pnum
|
1940 | 1940 | \requires
|
1941 |
| -The supplied \tcode{Mutex} type shall meet the \tcode{Lockable} |
| 1941 | +The supplied \tcode{Mutex} type shall satisfy the \tcode{Lockable} |
1942 | 1942 | requirements\iref{thread.req.lockable.req}.
|
1943 | 1943 | If \tcode{mutex_type} is not a recursive mutex the calling thread does not own the mutex.
|
1944 | 1944 |
|
|
1978 | 1978 | \begin{itemdescr}
|
1979 | 1979 | \pnum
|
1980 | 1980 | \requires If \tcode{mutex_type} is not a recursive mutex the calling thread
|
1981 |
| -does not own the mutex. The supplied \tcode{Mutex} type shall meet the |
| 1981 | +does not own the mutex. The supplied \tcode{Mutex} type shall satisfy the |
1982 | 1982 | \tcode{TimedLockable} requirements\iref{thread.req.lockable.timed}.
|
1983 | 1983 |
|
1984 | 1984 | \pnum
|
|
1999 | 1999 | \begin{itemdescr}
|
2000 | 2000 | \pnum
|
2001 | 2001 | \requires If \tcode{mutex_type} is not a recursive mutex the calling thread does not own the mutex.
|
2002 |
| -The supplied \tcode{Mutex} type shall meet the \tcode{TimedLockable} requirements\iref{thread.req.lockable.timed}. |
| 2002 | +The supplied \tcode{Mutex} type shall satisfy the \tcode{TimedLockable} requirements\iref{thread.req.lockable.timed}. |
2003 | 2003 |
|
2004 | 2004 | \pnum
|
2005 | 2005 | \effects Constructs an object of type \tcode{unique_lock} and calls \tcode{m.try_lock_for(rel_time)}.
|
|
2079 | 2079 |
|
2080 | 2080 | \begin{itemdescr}
|
2081 | 2081 | \pnum
|
2082 |
| -\requires The supplied \tcode{Mutex} shall meet the \tcode{Lockable} |
| 2082 | +\requires The supplied \tcode{Mutex} shall satisfy the \tcode{Lockable} |
2083 | 2083 | requirements\iref{thread.req.lockable.req}.
|
2084 | 2084 |
|
2085 | 2085 | \pnum
|
|
2113 | 2113 |
|
2114 | 2114 | \begin{itemdescr}
|
2115 | 2115 | \pnum
|
2116 |
| -\requires The supplied \tcode{Mutex} type shall meet the \tcode{TimedLockable} |
| 2116 | +\requires The supplied \tcode{Mutex} type shall satisfy the \tcode{TimedLockable} |
2117 | 2117 | requirements\iref{thread.req.lockable.timed}.
|
2118 | 2118 |
|
2119 | 2119 | \pnum
|
|
2147 | 2147 |
|
2148 | 2148 | \begin{itemdescr}
|
2149 | 2149 | \pnum
|
2150 |
| -\requires The supplied \tcode{Mutex} type shall meet the \tcode{TimedLockable} requirements\iref{thread.req.lockable.timed}. |
| 2150 | +\requires The supplied \tcode{Mutex} type shall satisfy the \tcode{TimedLockable} requirements\iref{thread.req.lockable.timed}. |
2151 | 2151 |
|
2152 | 2152 | \pnum
|
2153 | 2153 | \effects As if by \tcode{pm->try_lock_for(rel_time)}.
|
|
2316 | 2316 | is undefined if the contained pointer \tcode{pm} is not null and the lockable
|
2317 | 2317 | object pointed to by \tcode{pm} does not exist for the entire remaining
|
2318 | 2318 | lifetime\iref{basic.life} of the \tcode{shared_lock} object. The supplied
|
2319 |
| -\tcode{Mutex} type shall meet the shared mutex |
| 2319 | +\tcode{Mutex} type shall satisfy the shared mutex |
2320 | 2320 | requirements\iref{thread.sharedtimedmutex.requirements}.
|
2321 | 2321 |
|
2322 | 2322 | \pnum
|
|
2695 | 2695 |
|
2696 | 2696 | \begin{itemdescr}
|
2697 | 2697 | \pnum
|
2698 |
| -\requires Each template parameter type shall meet the \tcode{Lockable} requirements. \begin{note} The |
| 2698 | +\requires Each template parameter type shall satisfy the \tcode{Lockable} requirements. \begin{note} The |
2699 | 2699 | \tcode{unique_lock} class template meets these requirements when suitably instantiated.
|
2700 | 2700 | \end{note}
|
2701 | 2701 |
|
|
2719 | 2719 |
|
2720 | 2720 | \begin{itemdescr}
|
2721 | 2721 | \pnum
|
2722 |
| -\requires Each template parameter type shall meet the \tcode{Lockable} requirements, |
| 2722 | +\requires Each template parameter type shall satisfy the \tcode{Lockable} requirements, |
2723 | 2723 | \begin{note} The
|
2724 | 2724 | \tcode{unique_lock} class template meets these requirements when suitably instantiated.
|
2725 | 2725 | \end{note}
|
|
3325 | 3325 | \rSec2[thread.condition.condvarany]{Class \tcode{condition_variable_any}}
|
3326 | 3326 |
|
3327 | 3327 | \pnum
|
3328 |
| -A \tcode{Lock} type shall meet the \tcode{BasicLockable} |
| 3328 | +A \tcode{Lock} type shall satisfy the \tcode{BasicLockable} |
3329 | 3329 | requirements\iref{thread.req.lockable.basic}. \begin{note} All of the standard
|
3330 | 3330 | mutex types meet this requirement. If a \tcode{Lock} type other than one of the
|
3331 | 3331 | standard mutex types or a \tcode{unique_lock} wrapper for a standard mutex type
|
|
0 commit comments