Any idea why the function in a multithreaded program is working at about 1/4 speed than when it works in a single thread?
I am benchmarking the net performance of the functions (it doesn't include any waits, locks, anything)?
It needs some details on the this performance issues. Do you have test code that can show this problem? or some pseudocode that showing how th function is called, and how to measure the performance, etc?