Hi - I have to turn a fully functioning C API DLL into a multithreading DLL and I have checked the help files for both Borland and MSVS and am a bit confused by both of them as they seem so different - what I want to know is :
Which method(s) is effective in C code and will keep my code reasonably compatible with Microsoft and Borland
What I suspect is that I may have to make C++ wrappers around my code - which is OK if the code stays portable.
Can anyone help with the methods I shoudl use and maybe some examples. I use a global structure and heaps of memory I want to share between threads - but there is searching, file IO and temporary states that must be kept separate between threads. I am already using a Job Number which keeps things separate for different jobs that run on a single thread.
Thanks in advance