This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| int | NdbSleep_MicroSleep (int microseconds) |
| int | NdbSleep_MilliSleep (int milliseconds) |
| int | NdbSleep_SecSleep (int seconds) |
| int NdbSleep_MicroSleep | ( | int | microseconds | ) |
Sleep for some time
returnvalue: true = time is up, false = failed
| int NdbSleep_MilliSleep | ( | int | milliseconds | ) |
Definition at line 23 of file NdbSleep.c.
Referenced by clear_table(), client(), CommandInterpreter::connect(), SHM_Transporter::connect_common(), SignalSender::connectAll(), SignalSender::connectOne(), SocketServer::doRun(), BackupRestore::errorHandler(), event_thread_run(), execute(), BackupRestore::finalize_table(), handler_error(), SCI_Transporter::init_local(), SCI_Transporter::init_remote(), ThreadConfig::ipControlLoop(), MgmtSrvr::logLevelThreadRun(), main(), NDB_COMMAND(), NDB_MAIN(), NdbShutdown(), NdbSleep_SecSleep(), TransporterRegistry::poll_TCP(), SocketRegistry< T >::pollSocketClients(), TransporterRegistry::prepareSend(), Dbdict::restartCreateTab(), MgmtSrvr::restartDB(), MgmtSrvr::restartNodes(), WatchDog::run(), runClusterMgr_C(), runProducer(), runProducer2(), scanReadRecords(), select_count(), TCP_Transporter::sendIsPossible(), TransporterRegistry::start_clients_thread(), SocketServer::stopSessions(), testfunc(), testMicros(), testTryLockfunc(), ClusterMgr::threadMain(), TransporterFacade::threadMainReceive(), TransporterFacade::threadMainSend(), unmapSegment(), Ndb_cluster_connection::wait_until_ready(), waitClusterStatus(), Ndb::waitUntilReady(), and Ndb::~Ndb().
00023 { 00024 my_sleep(milliseconds*1000); 00025 return 0; 00026 #if 0 00027 int result = 0; 00028 struct timespec sleeptime; 00029 sleeptime.tv_sec = milliseconds / 1000; 00030 sleeptime.tv_nsec = (milliseconds - (sleeptime.tv_sec * 1000)) * 1000000; 00031 result = nanosleep(&sleeptime, NULL); 00032 return result; 00033 #endif 00034 }
Here is the caller graph for this function:

| int NdbSleep_SecSleep | ( | int | seconds | ) |
Definition at line 37 of file NdbSleep.c.
References NdbSleep_MilliSleep().
Referenced by ConfigRetriever::allocNodeId(), Ndb_cluster_connection_impl::connect_thread(), desc_table(), Cmvmi::execNDB_TAMPER(), main(), ndb_mgm_connect(), prioTransporterTest(), testfunc(), and testTryLockfunc().
00037 { 00038 int result = 0; 00039 result = sleep(seconds); 00040 return result; 00041 }
Here is the call graph for this function:

Here is the caller graph for this function:

1.4.7

