From: Warren Young Date: July 7 2008 8:09pm Subject: Re: Thread-awareness vs thread-safety List-Archive: http://lists.mysql.com/plusplus/7731 Message-Id: <3A87317D-4617-441E-8E36-9BB9E6D53188@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jul 7, 2008, at 2:03 PM, Rick Gutleber wrote: > do I need to use the "thread-aware" version of the library if I am > not sharing connections or data structures or anything from MySQL++ > across threads? Yes, because there are other considerations, like ensuring that the code uses reentrancy-safe versions of standard library functions. Your practice of keeping information about a DB connection within a single thread will help you to avoid a lot of pain, but doesn't in itself let you ignore thread safety issues.