ObjFW  Check-in [ade50547f6]

Overview
Comment:OFThread: Run the run loop if there is no main.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ade50547f67a75d83c9fbcb595608b2bf1f2d03c3aae02833d5acc10885d4358
User & Date: js on 2012-09-17 06:38:16
Other Links: manifest | tags
Context
2012-09-17
06:43
Don't create unnecessary run loops. check-in: 664e7d85cc user: js tags: trunk
06:38
OFThread: Run the run loop if there is no main. check-in: ade50547f6 user: js tags: trunk
2012-09-16
22:31
Add -[performSelector:onThread:waitUntilDone:]. check-in: e9cbd5e12a user: js tags: trunk
Changes

Modified src/OFThread.m from [80338cd99b] to [8e90710066].

285
286
287
288
289
290
291
292

293
294
295
296
297
298
299
300
285
286
287
288
289
290
291

292

293
294
295
296
297
298
299







-
+
-








	return self;
}
#endif

- (id)main
{
	@throw [OFNotImplementedException exceptionWithClass: [self class]
	[[OFRunLoop currentRunLoop] run];
						    selector: _cmd];

	return nil;
}

- (void)handleTermination
{
	OFRunLoop *old = runLoop;