tmp/tmp63txc1n3/{from.md → to.md}
RENAMED
|
@@ -9,11 +9,11 @@ of `time_point` ([[time.point]])).
|
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
m.try_lock_for(rel_time)
|
| 12 |
```
|
| 13 |
|
| 14 |
-
*Effects:*
|
| 15 |
within the relative timeout ([[thread.req.timing]]) specified by
|
| 16 |
`rel_time`. The function shall not return within the timeout specified
|
| 17 |
by `rel_time` unless it has obtained a lock on `m` for the current
|
| 18 |
execution agent. If an exception is thrown then a lock shall not have
|
| 19 |
been acquired for the current execution agent.
|
|
@@ -24,11 +24,11 @@ been acquired for the current execution agent.
|
|
| 24 |
|
| 25 |
``` cpp
|
| 26 |
m.try_lock_until(abs_time)
|
| 27 |
```
|
| 28 |
|
| 29 |
-
*Effects:*
|
| 30 |
before the absolute timeout ([[thread.req.timing]]) specified by
|
| 31 |
`abs_time`. The function shall not return before the timeout specified
|
| 32 |
by `abs_time` unless it has obtained a lock on `m` for the current
|
| 33 |
execution agent. If an exception is thrown then a lock shall not have
|
| 34 |
been acquired for the current execution agent.
|
|
|
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
m.try_lock_for(rel_time)
|
| 12 |
```
|
| 13 |
|
| 14 |
+
*Effects:* Attempts to acquire a lock for the current execution agent
|
| 15 |
within the relative timeout ([[thread.req.timing]]) specified by
|
| 16 |
`rel_time`. The function shall not return within the timeout specified
|
| 17 |
by `rel_time` unless it has obtained a lock on `m` for the current
|
| 18 |
execution agent. If an exception is thrown then a lock shall not have
|
| 19 |
been acquired for the current execution agent.
|
|
|
|
| 24 |
|
| 25 |
``` cpp
|
| 26 |
m.try_lock_until(abs_time)
|
| 27 |
```
|
| 28 |
|
| 29 |
+
*Effects:* Attempts to acquire a lock for the current execution agent
|
| 30 |
before the absolute timeout ([[thread.req.timing]]) specified by
|
| 31 |
`abs_time`. The function shall not return before the timeout specified
|
| 32 |
by `abs_time` unless it has obtained a lock on `m` for the current
|
| 33 |
execution agent. If an exception is thrown then a lock shall not have
|
| 34 |
been acquired for the current execution agent.
|