Home » Developer & Programmer » Precompilers, OCI & OCCI » OCI non blocking??
OCI non blocking?? [message #164896] Mon, 27 March 2006 06:27
eriklam
Messages: 1
Registered: March 2006
Junior Member
Hi there, my problem is that i cannot understand the idea of non blocking calls with OCI, I mean, you cannot epoll/select and OCI doesnt have any interesting ¨notify¨ mechanism, so, lets suppose you have a poll of connections with queries that you do not know how many time they are going to take,.. supposing they take enougth time, you will be facing an incredible ¨cycle-consuming¨ loop calling ..execute() to see when the call is done... i just dont get it... seems like its even better to have 1 thread per connection and use blocking mode!...
Well.. there is ognfd() but i dont think you can mix it with oci.h calls....

There is anything im missing?

Thanks in advance.
Previous Topic: Can't link archive or shared libraries
Next Topic: OCIReset always fails and query still executing
Goto Forum:
  


Current Time: Wed Nov 26 17:46:25 CST 2014

Total time taken to generate the page: 0.09414 seconds