Subject | Can anyone help: Error reading data from the connection |
---|---|
Author | nitaligavino |
Post date | 2002-09-18T14:43:51Z |
Hi:
I posted this message late last Friday and did not get any response,
so...can anyone help with the error "Error reading data from the
connection"?
ISC_STATUS =
status_vector[0]1
status_vector[1]335544726
status_vector[2]0
The interbase.log reports:
DCREA (Server) Tue Sep 17 17:28:50 2002
INET/inet_error: read errno = 10054
I believe I have narrowed this error to one or both of following
calls:
isc_dsql_prepare
isc_dsql_allocate_statement
This error seems to appear when I have multiple threads making these
calls? Virtually, concurrently.
To ask a "newbie" question: Are the isc_... calls thread safe?
Also, is there any thread local storage being used under the covers?
I ask because I've implemented a pool where each thread acquires it's
db handle via a pool so the db handles are reused among threads. Not
concurrently however, 1 thread 1 handle at any point in time.
Thanks much!
I posted this message late last Friday and did not get any response,
so...can anyone help with the error "Error reading data from the
connection"?
ISC_STATUS =
status_vector[0]1
status_vector[1]335544726
status_vector[2]0
The interbase.log reports:
DCREA (Server) Tue Sep 17 17:28:50 2002
INET/inet_error: read errno = 10054
I believe I have narrowed this error to one or both of following
calls:
isc_dsql_prepare
isc_dsql_allocate_statement
This error seems to appear when I have multiple threads making these
calls? Virtually, concurrently.
To ask a "newbie" question: Are the isc_... calls thread safe?
Also, is there any thread local storage being used under the covers?
I ask because I've implemented a pool where each thread acquires it's
db handle via a pool so the db handles are reused among threads. Not
concurrently however, 1 thread 1 handle at any point in time.
Thanks much!