ObjFW  Diff

Differences From Artifact [935cd4400e]:

To Artifact [6d271824f0]:


160
161
162
163
164
165
166



167
168
169
170
171
172
173

- (void)handleTermination
{
}

- start
{



	[self retain];

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








>
>
>







160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176

- (void)handleTermination
{
}

- start
{
	if (running == OF_THREAD_RUNNING)
		@throw [OFThreadStillRunningException newWithClass: isa];

	[self retain];

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