I want to add given blocks to an array, and then run all the blocks contained in the array, when requested. I have code similar to this:
class MyArrayBlockCl
NSOperationQueue itself is thread safe, so you could set suspended to true, add all the blocks you want from any thread, and then set suspended to false to run all the blocks.
NSOperationQueue
suspended