ObjFW  Diff

Differences From Artifact [93776e4552]:

To Artifact [a06fbcf0e7]:


24
25
26
27
28
29
30

31
32
33
34
35
36
37

#include <signal.h>

#import "OFApplication.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"


#import "OFNotImplementedException.h"

#import "autorelease.h"

#if defined(__MACH__) && !defined(OF_IOS)
# include <crt_externs.h>







>







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#include <signal.h>

#import "OFApplication.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"
#import "OFThread.h"

#import "OFNotImplementedException.h"

#import "autorelease.h"

#if defined(__MACH__) && !defined(OF_IOS)
# include <crt_externs.h>
291
292
293
294
295
296
297



298
299
300
301
302
303
304
#endif
#undef REGISTER_SIGNAL
}

- (void)run
{
	[delegate applicationDidFinishLaunching];



}

- (void)terminate
{
	exit(0);
}








>
>
>







292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
#endif
#undef REGISTER_SIGNAL
}

- (void)run
{
	[delegate applicationDidFinishLaunching];

	for (;;)
		[OFThread sleepForTimeInterval: 86400];
}

- (void)terminate
{
	exit(0);
}