CDEvents icon indicating copy to clipboard operation
CDEvents copied to clipboard

Use a GCD-queue

Open rastersize opened this issue 14 years ago • 2 comments

Possibly use a serial GCD-queue instead of the current callback function.

rastersize avatar Oct 21 '11 16:10 rastersize

What would be the benefit of using GCD queue?

tonyxiao avatar Oct 22 '12 02:10 tonyxiao

The thinking when I created this issue was primarily to not worry about blocking whoever is calling the current callback function. I.e. allowing it (CDEventsCallback(…)) to return almost instantaneously instead of as now, where it loops through the possibly large list of events, after quite some time.

rastersize avatar Nov 07 '12 18:11 rastersize