MySQL Forums
Forum List  »  Connector/C (libmysql)

Re: C API and threads
Posted by: Chris Slominski
Date: June 06, 2005 08:50AM

I found a MySQL file call thread_test.c in my browsing for an answer to my post. Nothing appears in the file that indicates I have problem with what I have done with my code, but there are two things in thread_test.c that I can't identify. First there is a "#include <global.h>" that I cannot locate on my system. I can't get the mysql example to compile without it. Does anybody know what this is? Also, the thread_test.c has conditional compilation on the definition of a symbol named "THREAD". The example program just aborts if this symbol is not defined. I found no references to this symbol in the mysql online documentation, where thread support is being discussed. Do clients using the C API need to create this definition?

Chris

Options: ReplyQuote


Subject
Views
Written By
Posted
729
June 02, 2005 06:47AM
Re: C API and threads
477
June 06, 2005 08:50AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.