Differences From Artifact [06b6c0f243]:
- File src/OFRunLoop.m — part of check-in [7e5c81e186] at 2018-01-03 19:49:46 on branch trunk — Update copyright notice (user: js, size: 23313) [annotate] [blame] [check-ins using]
To Artifact [3fae23d4fe]:
- File
src/OFRunLoop.m
— part of check-in
[184011467a]
at
2018-02-25 13:46:33
on branch trunk
— OFRunLoop: Reset _stop after -[run]
This allows calling -[run] from a callback to run the loop for a while,
without the run that called the callback being stopped. (user: js, size: 23330) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 | [deadline compare: now] != OF_ORDERED_DESCENDING)) { objc_autoreleasePoolPop(pool); break; } objc_autoreleasePoolPop(pool); } } - (void)stop { _stop = true; #if defined(OF_HAVE_SOCKETS) [_kernelEventObserver cancel]; #elif defined(OF_HAVE_THREADS) [_condition signal]; #endif } @end | > > | 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 | [deadline compare: now] != OF_ORDERED_DESCENDING)) { objc_autoreleasePoolPop(pool); break; } objc_autoreleasePoolPop(pool); } _stop = false; } - (void)stop { _stop = true; #if defined(OF_HAVE_SOCKETS) [_kernelEventObserver cancel]; #elif defined(OF_HAVE_THREADS) [_condition signal]; #endif } @end |