Using an XOP function ThreadStart
amtravco
However, the line
<br />
ThreadStart threadGroupID, th, myXOP(arg1, arg2)<br />
ThreadStart threadGroupID, th, myXOP(arg1, arg2)<br />
won't compile; I get an "Expected function name" error.
I have made the XOP function thread safe and declared it so in its resource file.
Am I not allowed to call XOP functions like this? Do I need to write an ordinary Igor function and put my XOP function inside it?
I just tested that and yes, you do need to create a user function for your thread worker function. Your user function can then call your external function.
November 3, 2017 at 11:16 am - Permalink