ObjFW  Diff

Differences From Artifact [5e60e220d4]:

To Artifact [b93a3d71df]:


59
60
61
62
63
64
65
66
67
68
69
70
71
72
73

@public
	id retval;
#endif
}

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

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







|







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73

@public
	id retval;
#endif
}

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

/**
 * Sets the Thread Local Storage for the specified key.
 *
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
 * Returns the object for the specified Thread Local Storage key.
 *
 * \param key The Thread Local Storage key
 */
+ (id)objectForTLSKey: (OFTLSKey*)key;

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

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







|







85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
 * Returns the object for the specified Thread Local Storage key.
 *
 * \param key The Thread Local Storage key
 */
+ (id)objectForTLSKey: (OFTLSKey*)key;

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

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