Bug 1755481: correct documentation of `nsIClipboard::getData`. r=mccr8
[gecko.git] / xpcom / threads / ThreadDelay.h
blob5cfc116e4d61ad5c160dda0ea625643e64df479e
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "mozilla/ChaosMode.h"
9 namespace mozilla {
11 // Sleep for a random number of microseconds less than aMicrosecondLimit
12 // if aFeature is enabled. On Windows, the sleep will always be 1 millisecond
13 // due to platform limitations.
14 void DelayForChaosMode(ChaosFeature aFeature, const uint32_t aMicrosecondLimit);
16 } // namespace mozilla