From: Niu Kun Date: June 12 2007 12:58pm Subject: Re: Possible memory leak of mysql++? List-Archive: http://lists.mysql.com/plusplus/6654 Message-Id: <20070612130112.14995.qmail@lists.mysql.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Warren Young 写道: > 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. Thank you for you explanation.:) I'll try to get more information from the source. That's why open source is wonderful, isn't it?