Given a program that creates mutliple threads and each of those threads writes to STDOUT and if we have a wrapper script that does something like:
myprog > stdout
Only the "parent" thread will write results to the file named "stdout". The created thread's stdout is not sent to "stdout".
I get that there are no such thing as threads in AmigaOS4. It is just a separate process.
Is there a workaround for this? Should this be something that we fix?
When running the executable, standalone, the effective results are fine. But for the script, this is not the case.
===
Test file: STDOUT.lha
FTP: tellusregio.duckdns.org
PORT: 32463
Anonymous login
Run: run_test_22_ThreadLocalStorage_clib4_STATIC.script
Edited by rjd324 on 2024/12/31 0:12:52
Edited by rjd324 on 2025/1/1 3:58:49