[Orclib-users] Threads and mutexes
Open source C and C++ library for accessing Oracle Databases
Brought to you by:
vince_del_paris
From: Kourosh A. <kou...@gm...> - 2012-10-09 03:27:11
|
Hi, A C program creates a few threads and they all call the same C function but each thread passes its own unique value to the C function. However, as new threads are called, they over-ride a previous threads' values! How can threads be used to ensure that the same C programming function called by them, do not use or over-ride another thread's previous values. Any suggestions and/or comments would be appreciated. Thank you! |