Re: [Orclib-users] [Bulk] Threads and mutexes
Open source C and C++ library for accessing Oracle Databases
Brought to you by:
vince_del_paris
From: vincent r. <vin...@ya...> - 2012-10-12 06:54:29
|
Hi, Can you be more precise ? You can use thread keys (see their use in OCILIB documentation). Regards, Vincent On Tue, Oct 9, 2012 at 5:26 AM, Kourosh Ashkon <kou...@gm...>wrote: > 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! > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Orclib-users mailing list > Orc...@li... > https://lists.sourceforge.net/lists/listinfo/orclib-users > -- Vincent Rogier |