ObjFW  Diff

Differences From Artifact [0dae234b3c]:

To Artifact [3758706d1f]:


47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
47
48
49
50
51
52
53


54
55
56
57
58
59
60







-
-








#ifdef OF_NINTENDO_3DS
# include <3ds/svc.h>
#endif

#import "OFThread.h"
#import "OFThread+Private.h"
#import "OFAutoreleasePool+Private.h"
#import "OFAutoreleasePool.h"
#import "OFDate.h"
#import "OFDictionary.h"
#ifdef OF_HAVE_SOCKETS
# import "OFDNSResolver.h"
#endif
#import "OFLocale.h"
#import "OFRunLoop.h"
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
131
132
133
134
135
136
137

138
139
140
141
142
143
144







-







# endif
			thread->_returnValue = [[thread main] retain];
	}

	[thread handleTermination];

	objc_autoreleasePoolPop(thread->_pool);
	[OFAutoreleasePool of_handleThreadTermination];

#if defined(OF_AMIGAOS) && defined(OF_HAVE_SOCKETS)
	if (thread.supportsSockets)
		of_socket_deinit();
#endif

	thread->_running = OF_THREAD_WAITING_FOR_JOIN;