Disclaimer: This question is very close to Passing two objects, where one holds a reference to another, into a thread, but not equal.
I have a C library which I call