From: Kevin K. <ke...@ac...> - 2009-05-04 05:09:07
|
John Kim wrote: > Is it enough if the extension is written to be "thread-oblivious" (e.g., > no shared global data)? > > Or we expected to make things like a connection handle safely-shareable > between threads? > > Looking at the MySQL code, I'm guessing the former is enough but I want > to be sure. Thread-oblivious. I'm not expecting to share connections between threads. Very few database APIs can cope with such a thing. If you want shared connections, I understand that Steve Redler is working on a 'tdbc::network' proxy interface that uses sockets; I suspect it could fairly easily be reworked to use threads and memchans. -- 73 de ke9tv/2, Kevin |