| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | February 14 2005 6:09pm |
| Subject: | Re: mysql++1.7.28 thread safety | ||
| View as plain text | |||
Earl Miles wrote: > 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. Check this out: http://ac-archive.sourceforge.net/Installed_Packages/acx_pthread.html Integrating that free macro into the autoconf process is the right way to do the first part of what you did. This is in the Wishlist. But before doing this change, we should move to using a config subdirectory, and moving all the configuration tests into that subdir, cleaning up configure.in. This is also a Wishlist item. Once that is done, some autoconf test for selecting libmysqlclient_r instead of the regular library should be added. Patches thoughtfully considered for all of these, as always. I'm probably going to make a MySQL++ release fairly soon, but if someone gets back to me saying that you're going to work on this, I'll hold the release until you finish your work.
| Thread | ||
|---|---|---|
| • mysql++1.7.28 core dumps on solaris | Alex Vishnev | 12 Feb |
| • Re: mysql++1.7.28 core dumps on solaris | Chris Frey | 12 Feb |
| • RE: mysql++1.7.28 core dumps on solaris | Alex Vishnev | 12 Feb |
| • Re: mysql++1.7.28 core dumps on solaris | Chris Frey | 13 Feb |
| • RE: mysql++1.7.28 core dumps on solaris | Alex Vishnev | 14 Feb |
| • Re: mysql++1.7.28 core dumps on solaris | Warren Young | 14 Feb |
| • Re: mysql++1.7.28 core dumps on solaris | Warren Young | 14 Feb |
| • Re: mysql++1.7.28 core dumps on solaris | Warren Young | 14 Feb |
| • RE: mysql++1.7.28 core dumps on solaris | Alex Vishnev | 14 Feb |
| • Re: mysql++1.7.28 core dumps on solaris | Warren Young | 14 Feb |
| • mysql++1.7.28 thread safety | Alex Vishnev | 14 Feb |
| • Re: mysql++1.7.28 thread safety | Earl Miles | 14 Feb |
| • Re: mysql++1.7.28 thread safety | Warren Young | 14 Feb |
| • Re: mysql++1.7.28 thread safety | Earl Miles | 14 Feb |
| • RE: mysql++1.7.28 thread safety | Alex Vishnev | 15 Feb |
| • Re: mysql++1.7.28 thread safety | Warren Young | 16 Feb |
