List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:July 11 2014 1:57am
Subject:Re: Problem with attempt to share a Connection between threads
View as plain text  
On Jul 10, 2014, at 12:57 PM, Damien Kick <dkick@stripped> wrote:

> Details follow: am I doing anything obviously wrong?

Yes.  You didn’t completely absorb the content of the user manual’s threading
chapter on your first read.  Go back and try again.

  http://tangentsoft.net/mysql++/doc/html/userman/threads.html

I can see you skimmed it, at least, due to the thread_aware() calls.  

What I don’t see are any calls to thread_start(), use of ConnectionPool, or —
best of all, IMHO — binding of Connection objects to individual threads.
Thread
Problem with attempt to share a Connection between threadsDamien Kick10 Jul 2014
  • Re: Problem with attempt to share a Connection between threadsWarren Young11 Jul 2014
    • Re: Problem with attempt to share a Connection between threadsDamien Kick11 Jul 2014
      • Re: Problem with attempt to share a Connection between threadsWarren Young11 Jul 2014
        • Re: Problem with attempt to share a Connection between threadsDamien Kick11 Jul 2014
          • Re: Problem with attempt to share a Connection between threadsWarren Young11 Jul 2014
            • Re: Problem with attempt to share a Connection between threadsDamien Kick11 Jul 2014
              • Re: Problem with attempt to share a Connection between threadsDamien Kick11 Jul 2014
                • Re: Problem with attempt to share a Connection between threadsWarren Young11 Jul 2014
              • Re: Problem with attempt to share a Connection between threadsWarren Young11 Jul 2014
                • Re: Problem with attempt to share a Connection between threadsDamien Kick11 Jul 2014
                  • Re: Problem with attempt to share a Connection between threadsWarren Young11 Jul 2014
                    • Re: Problem with attempt to share a Connection between threadsDamien Kick11 Jul 2014
                      • Re: Problem with attempt to share a Connection between threadsAdrian Cornish11 Jul 2014
  • Re: Problem with attempt to share a Connection between threadsChris Frey13 Jul 2014
Re: Problem with attempt to share a Connection between threadsDamien Kick11 Jul 2014
  • Re: Problem with attempt to share a Connection between threadsWarren Young11 Jul 2014