Skip to Content.
Sympa Menu

freetds - RE: big changes, conversion fixes, and tds_willconv ert

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: big changes, conversion fixes, and tds_willconv ert
  • Date: Mon, 15 Jul 2002 14:13:34 +0200


>
> > this will allow tds_client_msg() to be called during
> > conversion without a
> > socket structure, in accordance with dblib/ctlib specs. My
> > big question
> > is that the two threads calling dbconvert simultaneously
> > encounter errors
> > context->msg_info may be overwritten, and the application may
> > receive the
> > same error twice on different threads. Not exactly sure how
> > to deal with
> > that one yet.
> >
>
> Perhaps best solution is to pass to libraries two parameters
> message(TDSSOCKET* ,TDSMSGINFO*), (TDSCONTEXT can be retrieved from
> TDSSOKET). Added library information per socket can be retrieved by
> tds_socket->parent.
> I think library must be full-multithreaded for socket (I
> cannot read from a
> socket from 2 thread).
>
Something we have no socket, so parameters should be 3 (TDSCONTEXT,
TDSSOCKET and TDSMSGINFO)...

freddy77

=================================
"STRICTLY PERSONAL AND CONFIDENTIAL

This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."

=================================




Archive powered by MHonArc 2.6.24.

Top of Page