Building a C mt-pth library and running it only makes use of one thread
Creating an mt_pth
C library and calling it results in the following warning:
*** SAC runtime warning
*** In Sum__sum1: there was no hive attached to the calling thread!
Created a temporary hive of one. The warning will not be repeated for this function.
Looking into the process with ps -T -p <pid>
shows only a single running thread.
I have created a tiny reproducer here. Run build.sh
to build the code and run it.