From: Warren Young Date: June 11 2007 11:09pm Subject: Re: Possible memory leak of mysql++? List-Archive: http://lists.mysql.com/plusplus/6648 Message-Id: <466DD636.4060100@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Niu Kun wrote: > I wonder if mysql++ is thread-safe. Not only is MySQL++ not thread-safe by default, the underlying C API is also not thread-safe by default. There are ways you can use both libraries with threads, but you have to do your own protection. There's a plan in place to provide more of that protection within MySQL++ itself -- see the Wishlist -- but it's stalled right now, waiting for other things to be done first. If it's important to you, you should consider providing patches to do what's described in the Wishlist.