ObjFW  Diff

Differences From Artifact [b45d9d2457]:

To Artifact [ffbd3cc3a9]:


104
105
106
107
108
109
110
111


112
113
114
115
116
117
118
104
105
106
107
108
109
110

111
112
113
114
115
116
117
118
119







-
+
+







{
#ifdef __HAIKU__
	OFString *name = thread->_name;

	if (name == nil)
		name = [thread className];

	rename_thread(get_pthread_thread_id(thread->thread), [name UTF8String]);
	rename_thread(get_pthread_thread_id(thread->_thread),
	    [name UTF8String]);
#endif
}

@implementation OFThread
#if defined(OF_HAVE_PROPERTIES) && defined(OF_HAVE_BLOCKS)
@synthesize block = _block;
#endif