|
From: | Luboš Doležel |
Subject: | Keeping a list of blocks |
Date: | Wed, 16 Apr 2014 16:27:20 +0200 |
User-agent: | Roundcube Webmail/0.5 |
Hi,I'm currently implementing CFRunLoop. For the CFRunLoopPerformBlock() function, I need to keep a list of blocks to be performed next time the runloop loops.
What is the right way to keep a list of blocks?My best idea was to fill in struct CFArrayCallBacks with callbacks that invoke _Block_copy/_Block_release.
Thanks! -- Luboš Doležel
[Prev in Thread] | Current Thread | [Next in Thread] |