|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |
For example, the dispatcher convenience feature (see Dispatcher Threads) runs callback functions outside of program control (usually, in a separate dispatcher thread). In a contrasting example, when a program explicitly calls a dispatch function, the callback function runs in the thread that called the dispatch function.In C and C++ programs, the closure argument is a pointer (of type void*); it can point to any type of data.
|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |