Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
sleep.h
Go to the documentation of this file.
1// Copyright 2026 The Symbian SDK Authors.
2// Licensed under the Apache License, Version 2.0.
3
4#ifndef SYMBIAN_API_TIME_SLEEP_H_
5#define SYMBIAN_API_TIME_SLEEP_H_
6
7#include <chrono>
8
9namespace symbian::api::time {
10
11// Sleep on a thread-relative native timer. A timer creation failure returns
12// immediately so frame pacing cannot hold the application indefinitely.
13void SleepFor(std::chrono::nanoseconds duration);
14
15} // namespace symbian::api::time
16
17#endif // SYMBIAN_API_TIME_SLEEP_H_
Definition frame_pacer.h:13
void SleepFor(std::chrono::nanoseconds duration)
Definition sleep.cc:13