#include <NSThreadOOExtensions.h>
Definition at line 34 of file NSThreadOOExtensions.h.
◆ ooSetCurrentThreadName:
| + (void) ooSetCurrentThreadName: |
|
(NSString *) |
name |
|
Definition at line 1 of file NSThreadOOExtensions.m.
38 :(NSString *)name
39{
40
41 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
42
43 [[NSThread currentThread] setName:name];
44
45#if OO_HAVE_PTHREAD_SETNAME_NP
46
47
48
49 pthread_setname_np([name UTF8String]);
50#endif
51
52 [pool release];
53}
The documentation for this category was generated from the following files: