这个Dispatch是苹果的一个高效的处理库,它在ubuntu上的安装如下:
Build/Runtime Requirements
如下:
libBlocksRuntime
libpthread_workqueue
libkqueue
Build Requirements CMake >= 2.8.
Python2 >= 2.6
Clang >= 3.4
On Ubuntu 14.04, the required dependencies are available via apt-get. sudo apt-get install libblocksruntime-dev libkqueue-dev libpthread-workqueue-dev cmake git clone git://github.com/nickhutchinson/libdispatch.git && cd libdispatch
mkdir libdispatch-build && cd libdispatch-build
../configure
make
sudo make install