| List: | Commits | « Previous MessageNext Message » | |
| From: | He Zhenxing | Date: | November 12 2008 7:23am |
| Subject: | Re: bzr commit into mysql-5.0-bugteam branch (alfranio.correia:2704) Bug#31665 Bug#35542 Bug#40337 | ||
| View as plain text | |||
alfranio correia wrote: [snip] > alfranio correia wrote: > >>>> > >>> Do we really need this? > >>> I think we can survive without the atomicity in this case. > >>> > >>> > >>> > >> these variables can be changed by user at runtime by using SET command, > >> so it is possible that two threads are reading and writing the value of > >> the variable at the same time. > >> > >> [snip] > >> > >> > > My point is that we don't need any mutex, atomic variables, etc, etc. > > You are not updating a structure that will be corrupted due to a race > > condition. > > Anyway, I will keep the integer value. > > > > > Jasonh, forget this last comment... you are completely right. > ;) > Then please forget my previous comment too :-)
