What would be the best way to force a process to run single threaded (not sharing or accessing resources).
I’m currently working with the ANN library and need to lock some functionality on one thread.
I have tried incorporating critical sections but as soon as it enters the critical sections world machine crashes.
Any suggestions? Would there maybe be a WM function set availble that would let me access or lock threads?
Any help would be greatly appreciated!