BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Namespaces | Functions
thread.cpp File Reference
#include <fc/thread/thread.hpp>
#include <fc/io/sstream.hpp>
#include <fc/log/logger.hpp>
#include "thread_d.hpp"
#include <iostream>

Go to the source code of this file.

Namespaces

 fc
 
 fc::detail
 

Functions

const char * fc::thread_name ()
 
void * fc::thread_ptr ()
 
thread *& fc::current_thread ()
 
void fc::yield ()
 
void fc::usleep (const microseconds &u)
 
void fc::sleep_until (const time_point &tp)
 
void fc::exec ()
 
int fc::wait_any (std::vector< promise_base::ptr > &&v, const microseconds &timeout_us=microseconds::maximum())
 
int fc::wait_any_until (std::vector< promise_base::ptr > &&v, const time_point &tp)