ObjFW  Check-in [bb8753c099]

Overview
Comment:OFRunLoop: Fix a missing deadline != nil check
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bb8753c099fb063e291d5866916c95bcede3ab10d727c430b8e7f1ad272619ad
User & Date: js on 2016-02-21 10:36:44
Other Links: manifest | tags
Context
2016-02-21
10:52
OFURL.h: Add missing @brief to documentation (check-in: 2a6c3df320 user: js tags: trunk)
10:36
OFRunLoop: Fix a missing deadline != nil check (check-in: bb8753c099 user: js tags: trunk)
2016-02-10
22:25
Add -[OFRunLoop runUntilDate:] (check-in: 0f44c12d9f user: js tags: trunk)
Changes

Modified src/OFRunLoop.m from [5f1e1fd3c7] to [3185d7f56f].

812
813
814
815
816
817
818

819

820
821
822
823
824
825
826
812
813
814
815
816
817
818
819

820
821
822
823
824
825
826
827







+
-
+







			[_condition wait];
			[_condition unlock];
#else
			[OFThread sleepForTimeInterval: 86400];
#endif
		}

		if (_stop || (deadline != nil &&
		if (_stop || [deadline compare: now] != OF_ORDERED_DESCENDING) {
		    [deadline compare: now] != OF_ORDERED_DESCENDING)) {
			objc_autoreleasePoolPop(pool);
			break;
		}

		objc_autoreleasePoolPop(pool);
	}
}