Project: SWT
Bug 260761 Need a Cocoa runloop observer for async messages
Reported: 2009-01-12 13:45:15 | Status: resolved fixed

In the Carbon SWT Display has a runloop observer with an observerProc callback that calls runAsyncMessages(false) when the runloop gets kCFRunLoopBeforeWaiting. There's no Cocoa-level abstraction for run loop observers, and since this code is already 64-bit-ready we should carry it forward to the Cocoa SWT.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java