ObjFW  Diff

Differences From Artifact [12d687f3c9]:

To Artifact [e7e5a215e2]:


135
136
137
138
139
140
141


142


143
144


145
146
147
148
149
150
151
152
153
135
136
137
138
139
140
141
142
143

144
145
146

147
148
149

150
151
152
153
154
155
156







+
+
-
+
+

-
+
+

-








- (void)handleTermination
{
}

- start
{
	[self retain];

	if (!of_thread_new(&thread, call_run, self))
	if (!of_thread_new(&thread, call_run, self)) {
		[self release];
		@throw [OFThreadStartFailedException newWithClass: isa];

	}

	running = OF_THREAD_RUNNING;
	[self retain];

	return self;
}

- (id)join
{
	if (running == OF_THREAD_NOT_RUNNING || !of_thread_join(thread))