Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mysql sleep timeouts



     I'm seeing a problem in MySQL Cluster where sleep timeouts
are running too long.  I don't know if this problem also affects
regular MySQL, but since they share a lot of code, it is very
possible.

     After doing a fair bit of digging, I found a function called,
NdbSleep_MilliSleep().  The primary line in this function is,
"select(0, nullptr, nullptr, nullptr, &t);".  t is a "struct
timeval".  I'm guessing that select() timeout doesn't provide
millisecond level granularity?  Somebody can confirm.  What would
be a better option (hopefully reasonably portable)?


Home | Main Index | Thread Index | Old Index