#include "qeventdispatcher_blackberry_p.h"
#include "qsocketnotifier.h"
#include "qdebug.h"
#include "qelapsedtimer.h"
#include "private/qthread_p.h"
#include <bps/bps.h>
#include <bps/event.h>
Go to the source code of this file.
◆ qEventDispatcherDebug
◆ bpsIOHandler()
static int bpsIOHandler |
( |
int |
fd, |
|
|
int |
io_events, |
|
|
void * |
data |
|
) |
| |
|
static |
Definition at line 108 of file qeventdispatcher_blackberry.cpp.
Referenced by QEventDispatcherBlackberry::registerSocketNotifier(), and QEventDispatcherBlackberry::unregisterSocketNotifier().
115 bool firstReady = (ioData->
count == 0);
118 if (io_events & BPS_IO_INPUT) {
124 if (io_events & BPS_IO_OUTPUT) {
130 if (io_events & BPS_IO_EXCEPT) {
144 qWarning(
"QEventDispatcherBlackberry: bps_event_create failed");
150 result = bps_push_event(event);
152 qWarning(
"QEventDispatcherBlackberry: bps_push_event failed");
153 bps_event_destroy(event);
static int bpsUnblockDomain
Q_CORE_EXPORT void qWarning(const char *,...)
static const char * data(const QByteArray &arr)
#define qEventDispatcherDebug
#define Q_UNLIKELY(x)
Hints to the compiler that the enclosed condition, expr, is likely to evaluate to false...
◆ destroyHeldBpsEvent()
static void destroyHeldBpsEvent |
( |
int |
holding_channel | ) |
|
|
inlinestatic |
◆ timevalToMillisecs()
static int timevalToMillisecs |
( |
const timeval & |
tv | ) |
|
|
inlinestatic |
◆ bpsUnblockDomain
int bpsUnblockDomain = -1 |
|
static |