Re: [Sqlrelay-discussion] Busy listeners counter patch
Brought to you by:
mused
|
From: Renat S. <sr...@st...> - 2010-05-19 05:17:35
|
19.05.2010 01:03, Cal Heldenbrand пишет:
> I can't seem to find the error in my console history... it had to do
> with this line:
>
> for (int i=0; i< SEM_COUNT; i++) {
> sem[i] = conn->semset->getValue(i);
> }
>
> Saying that "semset" is a private data member of that object. I've
> already rolled back my source code, but I can try it later after I'm
> done with the cursor stuff.
Ok, now I see. semset became public since 03_statistics_mutex.patch, and
not in rudiments but in sqlrelay-0.41/src/connection/sqlrconnection.h
I needed semaphores in public to control access to statistics shm.
--
Renat
|