8 Dec
2022
8 Dec
'22
12:12 p.m.
Barry Smith <[email protected]> writes:
We could test at runtime whether child threads exist/are created when calling BLAS and deliver a warning.
How does one test for this? Some standard Unix API for checking this?
I'm not sure, the ids of child threads are in /proc/$pid/task/ and (when opened by a process) /proc/self/task/. See man procfs for details.