Differences From Artifact [879bd22002]:
- File src/OFRunLoop.h — part of check-in [590c377d8a] at 2013-04-26 19:42:52 on branch trunk — Make it possible to disable sockets. (user: js, size: 3125) [annotate] [blame] [check-ins using]
To Artifact [29f177ef6f]:
- File
src/OFRunLoop.h
— part of check-in
[56ec27cbdf]
at
2013-05-01 21:05:39
on branch trunk
— OFRunLoop: Work correctly for threads && !sockets.
This was only an issue with --enable-threads --disable-sockets. (user: js, size: 3238) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
19 20 21 22 23 24 25 26 | #ifdef OF_HAVE_SOCKETS # import "OFTCPSocket.h" #endif @class OFSortedList; #ifdef OF_HAVE_THREADS @class OFMutex; #endif | > > | > | | > > | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | #ifdef OF_HAVE_SOCKETS # import "OFTCPSocket.h" #endif @class OFSortedList; #ifdef OF_HAVE_THREADS @class OFMutex; @class OFCondition; #endif #ifdef OF_HAVE_SOCKETS @class OFStreamObserver; #endif @class OFMutableDictionary; @class OFTimer; /*! * @brief A class providing a run loop for the application and its processes. */ @interface OFRunLoop: OFObject { OFSortedList *_timersQueue; #ifdef OF_HAVE_THREADS OFMutex *_timersQueueLock; #endif #if defined(OF_HAVE_SOCKETS) OFStreamObserver *_streamObserver; OFMutableDictionary *_readQueues; #elif defined(OF_HAVE_THREADS) OFCondition *_condition; #endif volatile bool _running; } /*! * @brief Returns the main run loop. * |
︙ | ︙ |