Home » Developer & Programmer » Precompilers, OCI & OCCI » OCI and Threaded applications (Solaris 10, Oracle 10g)
OCI and Threaded applications [message #589132] Tue, 02 July 2013 09:57 Go to previous message
clancypc
Messages: 36
Registered: December 2006
Member
Does anyone out there have any experience of writing a threaded OCI application?

I am writing an application to load data into a database. The general idea is:

Have a parent process that sets up the environment handle, error handle, server handle etc.. Then it will go to a directory and monitor it for any arriving files to be loaded. When it detects a file it creates a child thread to process the file.

The child thread will then create the statement handle and bind handles, process all the data in the file and load it into the database.

My initial thoughts were to create the threads using POSIX threads, but I have noticed in the OCI Programmers Guide that there are OCI thread functions. Does anyone know if I should be using these instead of the POSIX functions or in addition to the POSIX functions?
Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Setting up Pro*C Pre compiler in Windows
Next Topic: Cannot get one command line parameter from a response file
Goto Forum:
  


Current Time: Fri Mar 29 01:39:02 CDT 2024