Messages per Month
30 messages in com.mysql.lists.plusplusRe: Eyeballs needed on new reference ...| From | Sent On | Attachments |
|---|---|---|
| Warren Young | 14 Aug 2007 23:26 | |
| Chris Frey | 15 Aug 2007 01:14 | |
| Alex Burton | 15 Aug 2007 01:42 | |
| Joseph Artsimovich | 15 Aug 2007 01:56 | |
| Joel Fielder | 15 Aug 2007 02:29 | |
| Robert Mecklenburg | 15 Aug 2007 07:47 | |
| Graham Reitz | 15 Aug 2007 08:38 | |
| Graham Reitz | 15 Aug 2007 08:47 | |
| Graham Reitz | 15 Aug 2007 09:03 | |
| Jonathan Wakely | 15 Aug 2007 15:06 | |
| Warren Young | 16 Aug 2007 01:55 | |
| Warren Young | 16 Aug 2007 02:23 | |
| Warren Young | 16 Aug 2007 02:31 | |
| Warren Young | 16 Aug 2007 02:57 | |
| Warren Young | 16 Aug 2007 03:08 | |
| Warren Young | 16 Aug 2007 03:11 | |
| Jonathan Wakely | 17 Aug 2007 17:54 | |
| Jonathan Wakely | 17 Aug 2007 18:00 | |
| Warren Young | 20 Aug 2007 12:09 | |
| Warren Young | 29 Nov 2007 00:04 | |
| Joseph Artsimovich | 29 Nov 2007 04:20 | |
| Warren Young | 29 Nov 2007 05:48 | |
| Jonathan Wakely | 29 Nov 2007 17:40 | |
| Jonathan Wakely | 29 Nov 2007 17:58 | |
| Jonathan Wakely | 29 Nov 2007 18:15 | |
| Warren Young | 30 Nov 2007 22:24 | |
| Warren Young | 30 Nov 2007 22:35 | |
| Warren Young | 30 Nov 2007 22:38 | |
| Warren Young | 17 Dec 2007 05:53 | |
| Jonathan Wakely | 17 Dec 2007 12:39 |
| Subject: | Re: Eyeballs needed on new reference counted pointer template![]() |
|---|---|
| From: | Warren Young (mysq...@etr-usa.com) |
| Date: | 08/20/2007 12:09:09 PM |
| List: | com.mysql.lists.plusplus |
Jonathan Wakely wrote:
there's a race on the memory allocation in ResUse::field_types(int).
I'm pretty sure the whole create-on-demand strategy used with FieldNames and FieldTypes is a crock, but I haven't put in the time to prove it yet. Aside from the thread safety implications, it means you have to test the pointer all the time to be sure it's allocated, and if not, repeat the allocation code inline. Bleh.
At *minimum* we need to hide the pointer behind an accessor that wraps all this. If we can just allocate it on object creation without horrible consequences, so much the better.




