ObjFW  Check-in [410526006b]

Overview
Comment:OFThread: Fix missing underscore.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 410526006b496940d0a9968634b090a6b150a2c6c6b45e3d9d406bc5dda6f177
User & Date: js on 2013-04-24 20:49:11
Other Links: manifest | tags
Context
2013-04-25
01:09
OFSystemInfo: Fix fallback pageSize. check-in: 9c1da35543 user: js tags: trunk
2013-04-24
20:49
OFThread: Fix missing underscore. check-in: 410526006b user: js tags: trunk
2013-04-18
19:54
Fix --disable-threads. check-in: c1f5396016 user: js tags: trunk
Changes

Modified src/OFThread.m from [b45d9d2457] to [ffbd3cc3a9].

104
105
106
107
108
109
110
111

112
113
114
115
116
117
118
{
#ifdef __HAIKU__
	OFString *name = thread->_name;

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

	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







|
>







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]);
#endif
}

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