I am attempting to write a multi-threaded program in C++ which looks into an Oracle database in different schemas. It then looks at a few tables and does some calculations and eventually repeats this process. Done sequentially this takes too long, so I am going to use multi-threading. The catch is that this has to be able to work in both a Windows enviromnent and a UNIX environment. I am under the impression that to do multi-threading in C++ it is dependant on the OS, and therefore I may need two classes for the multi-threading part, one which compiles when in UNIX and the other for when compiling in Windows. Is this assumption correct? Also I know there are some C++ add ons that may make multi-threading simpler (Example: ABC++, CC++, Charm++, HPC++, POOMA...). Has anyone used any of these and can recommend which might work well in my situation?
Thanks.
Thanks.