July 2015
Intermediate to advanced
558 pages
13h 31m
English
For multiple choice questions, choose all options that apply:
io_service::dispatch and io_service::post?a. dispatch returns immediately while post runs the handler before returning
b. post returns immediately while dispatch may run the handler on the current thread if it can, or it behaves like post
c. post is thread-safe while dispatch is not
d. post returns immediately while dispatch runs the handler
a. It is undefined behavior
b. It terminates the program with a call to std::terminate
c. The call to run, on the io_service that dispatched the handler, will throw
d. The io_service is stopped
Read now
Unlock full access