The repo contains a few experiments with timeout.
There are three experiments there, and these are the corresponding MACRO defines to turn each of them on:
DEFAULT: No scheduler specified, I'm getting a delay of 1 second (the timeout period) for each value!
ASIO: Using Boost.Asio scheduler, behaves normally but gets stuck.. I believe the observable never completes for some reason..
NEW_THREAD: Using synchronize_new_thread, behaves normally.
Could you explain the first two experiments' weird behavior?
Also, does the NEW_THREAD experiment means that a thread is created for each value?
Hi, checkout https://github.com/david-hoze/RxCppAsioTimeout, another repo with a repro :smile:
The repo contains a few experiments with
timeout
. There are three experiments there, and these are the corresponding MACRO defines to turn each of them on:DEFAULT
: No scheduler specified, I'm getting a delay of 1 second (the timeout period) for each value!ASIO
: Using Boost.Asio scheduler, behaves normally but gets stuck.. I believe the observable never completes for some reason..NEW_THREAD
: Usingsynchronize_new_thread
, behaves normally.Could you explain the first two experiments' weird behavior? Also, does the
NEW_THREAD
experiment means that a thread is created for each value?