MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / isEventPending

Method isEventPending

src/platform/BeOSDisplay.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61bool BeOSDisplay::isEventPending() const {
62 if (beosWin && beosWin->currentOglContext == find_thread(NULL)) {
63 beosWin->yieldCurrent();
64 }
65 // snooze(10000);
66 return (port_buffer_size_etc(eventPort, B_TIMEOUT, 0LL) > 0);
67}
68
69bool BeOSDisplay::peekEvent(BzfEvent& event) const {
70 return false;

Callers

nothing calls this directly

Calls 1

yieldCurrentMethod · 0.45

Tested by

no test coverage detected