Add timer functionality

This commit is contained in:
Jason Paryani
2014-04-10 19:08:24 -07:00
parent a3038ca8ec
commit f58f5d4846
5 changed files with 43 additions and 2 deletions

View File

@@ -31,3 +31,7 @@ private:
void waitNeverDone(kj::WaitScope & scope) {
kj::NEVER_DONE.wait(scope);
}
kj::Timer * getTimer(kj::AsyncIoContext * context) {
return &context->lowLevelProvider->getTimer();
}