commit | f6af386b3d7eceb1ade4c35528fe85ac764fa4e7 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Wed Apr 12 13:16:21 2017 -0700 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Wed Apr 12 13:16:25 2017 -0700 |
tree | afe9ebee8d47cbae552080aac5115ef238c82b61 | |
parent | eea06670a1c4b1b044d0a62baf2798943604767d [diff] |
tests: adjust printf for size types Use the z modifier for the size_t type conversion in printf specifiers.
Grand Central Dispatch (GCD or libdispatch) provides comprehensive support for concurrent code execution on multicore hardware.
libdispatch is currently available on all Darwin platforms. This project aims to make a modern version of libdispatch available on all other Swift platforms. To do this, we will implement as much of the portable subset of the API as possible, using the existing open source C implementation.
libdispatch on Darwin is a combination of logic in the xnu
kernel alongside the user-space Library. The kernel has the most information available to balance workload across the entire system. As a first step, however, we believe it is useful to bring up the basic functionality of the library using user-space pthread primitives on Linux. Eventually, a Linux kernel module could be developed to support more informed thread scheduling.
We are currently early in the development of this project. We began with a mirror of the open source drop that corresponds with OS X El Capitan (10.11) and have ported it to x86_64 Ubuntu 14.04 and 15.10. The next steps are:
For detailed instructions on building and installing libdispatch, see INSTALL.md
For detailed instructions on testing libdispatch, see TESTING.md