diff options
author | Sven Gothel <[email protected]> | 2021-06-20 01:25:36 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-06-20 01:25:36 +0200 |
commit | b5bfecaa1bbfe9191b769b2417f0e5c97a3a820d (patch) | |
tree | 1c2c1fd56195161a3c099cc07e2c3eb3c54a8832 /scripts | |
parent | fb5c543920afa38809897fcbf4b52f0f0e318003 (diff) |
IOUtil: Adding async read_http_get() using jau::ringbuffer, misc cleanup
New async read_http_get() spawns off a new thread using CURL feeding the ringbuffer.
Subsequent read operations in the user thread empty same ringbuffer to process the data.
User passes certain atomic state tracking variables,
allowing to be aware of the ongoing background http process.
Tested via test_02_iostream.cpp using `http://jordan/deployment/elevator/`
as a fixed http root source location.
+++
Adding noexcept where applicable.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test_exe_template.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/test_exe_template.sh b/scripts/test_exe_template.sh index 3f63af9..c7a0214 100755 --- a/scripts/test_exe_template.sh +++ b/scripts/test_exe_template.sh @@ -1,5 +1,8 @@ #!/bin/sh +export elevator_debug=true +export elevator_verbose=true + # Arguments: # --perf_analysis special performance analysis using 3rd party tools # -v normal dummy for full benchmarking @@ -67,6 +70,7 @@ runit() { #export ASAN_OPTIONS=verbosity=1:malloc_context_size=20 #export ASAN_OPTIONS=print_stats:halt_on_error:replace_intrin + cd $build_dir/test/elevator/ $EXE_WRAPPER $build_dir/test/elevator/$bname $* } |