ObjFW  Diff

Differences From Artifact [a4a4af59a1]:

To Artifact [8b6bb2dcce]:


84
85
86
87
88
89
90
91
92
93
94
95
96
97
98

/**
 * \return A new, autoreleased thread
 */
+ thread;

/**
 * \param obj An object that is passed to the main method as a copy or nil
 * \return A new, autoreleased thread
 */
+ threadWithObject: (id)obj;

/**
 * Sets the Thread Local Storage for the specified key.
 *







|







84
85
86
87
88
89
90
91
92
93
94
95
96
97
98

/**
 * \return A new, autoreleased thread
 */
+ thread;

/**
 * \param obj An object which is passed for use in the main method or nil
 * \return A new, autoreleased thread
 */
+ threadWithObject: (id)obj;

/**
 * Sets the Thread Local Storage for the specified key.
 *
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
 * Terminates the current thread, letting it return the specified object.
 *
 * \param obj The object which the terminated thread will return
 */
+ (void)terminateWithObject: (id)obj;

/**
 * \param obj An object that is passed to the main method as a copy or nil
 * \return An initialized OFThread.
 */
- initWithObject: (id)obj;

/**
 * The main routine of the thread. You need to reimplement this!
 *







|







157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
 * Terminates the current thread, letting it return the specified object.
 *
 * \param obj The object which the terminated thread will return
 */
+ (void)terminateWithObject: (id)obj;

/**
 * \param obj An object which is passed for use in the main method or nil
 * \return An initialized OFThread.
 */
- initWithObject: (id)obj;

/**
 * The main routine of the thread. You need to reimplement this!
 *