ObjFW  Diff

Differences From Artifact [384c6bb853]:

To Artifact [42d02c0030]:


118
119
120
121
122
123
124
125

126
127

128
129
130
131
132
133
134
118
119
120
121
122
123
124

125
126

127
128
129
130
131
132
133
134







-
+

-
+







+ (OFMutableDictionary*)threadDictionary;
#endif

/*!
 * @brief Suspends execution of the current thread for the specified time
 *	  interval.
 *
 * @param seconds The number of seconds to sleep
 * @param timeInterval The number of seconds to sleep
 */
+ (void)sleepForTimeInterval: (double)seconds;
+ (void)sleepForTimeInterval: (of_time_interval_t)timeInterval;

/*!
 * @brief Suspends execution of the current thread until the specified date.
 *
 * @param date The date to wait for
 */
+ (void)sleepUntilDate: (OFDate*)date;