From Jason Turner

[thread.thread.this]

Diff to HTML by rtfpessoa

tmp/tmp3pfchpar/{from.md → to.md} RENAMED
@@ -40,15 +40,11 @@ template <class Clock, class Duration>
40
  *Effects:* Blocks the calling thread for the absolute
41
  timeout ([[thread.req.timing]]) specified by `abs_time`.
42
 
43
  *Synchronization:* None.
44
 
45
- *Throws:* Nothing if `Clock` satisfies the `TrivialClock`
46
- requirements ([[time.clock.req]]) and operations of `Duration` do not
47
- throw exceptions. instantiations of time point types and clocks supplied
48
- by the implementation as specified in  [[time.clock]] do not throw
49
- exceptions.
50
 
51
  ``` cpp
52
  template <class Rep, class Period>
53
  void sleep_for(const chrono::duration<Rep, Period>& rel_time);
54
  ```
@@ -56,9 +52,7 @@ template <class Rep, class Period>
56
  *Effects:* Blocks the calling thread for the relative
57
  timeout ([[thread.req.timing]]) specified by `rel_time`.
58
 
59
  *Synchronization:* None.
60
 
61
- *Throws:* Nothing if operations of `chrono::duration<Rep, Period>` do
62
- not throw exceptions. instantiations of duration types supplied by the
63
- implementation as specified in  [[time.clock]] do not throw exceptions.
64
 
 
40
  *Effects:* Blocks the calling thread for the absolute
41
  timeout ([[thread.req.timing]]) specified by `abs_time`.
42
 
43
  *Synchronization:* None.
44
 
45
+ *Throws:* Timeout-related exceptions ([[thread.req.timing]]).
 
 
 
 
46
 
47
  ``` cpp
48
  template <class Rep, class Period>
49
  void sleep_for(const chrono::duration<Rep, Period>& rel_time);
50
  ```
 
52
  *Effects:* Blocks the calling thread for the relative
53
  timeout ([[thread.req.timing]]) specified by `rel_time`.
54
 
55
  *Synchronization:* None.
56
 
57
+ *Throws:* Timeout-related exceptions ([[thread.req.timing]]).
 
 
58