Thread safe client

2004-01-30 Thread Prasad Budim Ram
Hi, Is there any sample code available for MYSQL thread safe client using C API? Thanks in advance, Ram -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Thread - Safe Client

2001-04-19 Thread Brandon Lewis
Hello, I have been looking into some Access Violations I am getting with a client app accessing a MySQL database on an NT 4.0 box. I have read the article “24.1.5 How to make a Thread – Safe Client” but I am still some what confused. Is there a limit to the number of threads one database

Re: Thread safe client with C api

2001-01-17 Thread Kyle Cronan
Hi there, On Wed, 17 Jan 2001, Sinisa Milivojevic wrote: > > First of all, you should not over-complicated things. Even in our > server we do not call fork, as we have threads. I don't want to call fork, because there are advantages of using threads in this process (not involving mysql) that I

Re: Thread safe client with C api

2001-01-17 Thread Sinisa Milivojevic
Kyle Cronan writes: > Sinisa, > > My process has three threads and three different MYSQL structures. > I have found that if I don't let the three mysql_real_connect() calls go > one by one when I spawn the daemon, and then wait in each thread for them > all to finish, I get an error that

Re: Thread safe client with C api

2001-01-16 Thread Kyle Cronan
Sinisa, On Mon, 15 Jan 2001, Sinisa Milivojevic wrote: > Hi! > > > I will answer questions one by one. > > > 1) thread safe client library only has mutexes around thread sensitive > code. They have nothing to do with timeouts. Timeouts can be resolved > with corr

Re: Thread safe client with C api

2001-01-15 Thread Sinisa Milivojevic
s of questions (I assure you they are > not sent without much prior work to attempt to answer them myself). In > the mean time I would greatly appreciate any help. > > Thank you, > Kyle Cronan > <[EMAIL PROTECTED]> > Hi! I will answer questions one by one. 1)

Thread safe client with C api

2001-01-14 Thread Kyle Cronan
e any help. Thank you, Kyle Cronan <[EMAIL PROTECTED]> -- Forwarded message -- Date: Fri, 5 Jan 2001 11:55:44 + (/etc/localtime) From: Kyle Cronan <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Thread safe client with C api (repost) Further work has led me to believe