void
DumpRenderTreeWKC::beginWatchdog(int in_ms)
{
    if (gSelf->fWaitToDumpWatchdog)
        return;
    gSelf->fWaitToDumpWatchdog = true;
    wkcTimerStartOneShotPeer(gSelf->fWatchdogTimer, in_ms/1000.0, waitToDumpWatchdogFiredProc, gSelf);
}
void scheduleDispatchFunctionsOnMainThread()
{
    wkcTimerStartOneShotPeer(timer, 0, timeoutFired, NULL);
}