summaryrefslogtreecommitdiffstats
path: root/libcxx/test/thread/thread.threads/thread.thread.this/yield.pass.cpp
blob: fcbd358cec800c158a420db77ec830cc9a71044c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//===----------------------------------------------------------------------===//
//
// ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <thread>

// void this_thread::yield();

#include <thread>
#include <cassert>

int main()
{
    std::this_thread::yield();
}
OpenPOWER on IntegriCloud