List:MySQL++« Previous MessageNext Message »
From:Earl Miles Date:February 14 2005 5:10pm
Subject:Re: mysql++1.7.28 thread safety
View as plain text  
Alex Vishnev wrote:
> All,
> 
> Did anyone try running mysql++ in multi-threaded applications? Any problems
> with thread safety inside the objects?
> 
> Alex
> 
> 
> 

I run MySQL++ in a multi-threaded application. I have to modify the
Makefile to add the thread safety flag to gcc (on Linux it's -pthread; 
it varies from platform to platform) and be sure to link using 
-lmysqlclient_r.

I use 1 connection per thread.

I currently have no known problems related to threads.

Thread
mysql++1.7.28 core dumps on solarisAlex Vishnev12 Feb
  • Re: mysql++1.7.28 core dumps on solarisChris Frey12 Feb
    • RE: mysql++1.7.28 core dumps on solarisAlex Vishnev12 Feb
      • Re: mysql++1.7.28 core dumps on solarisChris Frey13 Feb
        • RE: mysql++1.7.28 core dumps on solarisAlex Vishnev14 Feb
          • Re: mysql++1.7.28 core dumps on solarisWarren Young14 Feb
    • Re: mysql++1.7.28 core dumps on solarisWarren Young14 Feb
  • Re: mysql++1.7.28 core dumps on solarisWarren Young14 Feb
    • RE: mysql++1.7.28 core dumps on solarisAlex Vishnev14 Feb
      • Re: mysql++1.7.28 core dumps on solarisWarren Young14 Feb
        • mysql++1.7.28 thread safetyAlex Vishnev14 Feb
          • Re: mysql++1.7.28 thread safetyEarl Miles14 Feb
            • Re: mysql++1.7.28 thread safetyWarren Young14 Feb
              • Re: mysql++1.7.28 thread safetyEarl Miles14 Feb
              • RE: mysql++1.7.28 thread safetyAlex Vishnev15 Feb
                • Re: mysql++1.7.28 thread safetyWarren Young16 Feb