summaryrefslogtreecommitdiffstats
path: root/clang/INPUTS/cfg-long-chain3.c
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2017-02-14 05:40:01 +0000
committerLang Hames <lhames@gmail.com>2017-02-14 05:40:01 +0000
commitf401077c29aed362d22ec7d27ea35079fa7b854e (patch)
treec27e337ffc1d7c6ab243ffa6af78c859d0d02be2 /clang/INPUTS/cfg-long-chain3.c
parentb61bfbd93aae792229a672e027198390299ed5e7 (diff)
downloadbcm5719-llvm-f401077c29aed362d22ec7d27ea35079fa7b854e.tar.gz
bcm5719-llvm-f401077c29aed362d22ec7d27ea35079fa7b854e.zip
[Orc][RPC] Remove lanch policies in favor of async handlers.
Launch policies provided a mechanism for running RPC handlers on a background thread (unblocking the main RPC receiver thread). Async handlers generalize this by passing the responder function (the function that sends the RPC return value) as an argument to the handler. The handler can optionally do its work on a background thread (the same way launch policies do), but can also (a) can inspect the call arguments before deciding to run the work on a different thread, or (b) can use the responder in a subsequent RPC call (e.g. in the handler of a callAsync), allowing the handler to call back to the originator (or to a 3rd party) without blocking the listener thread, and without launching a new thread. llvm-svn: 295030
Diffstat (limited to 'clang/INPUTS/cfg-long-chain3.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud