Libosmium  2.2.0
Fast and flexible C++ library for working with OpenStreetMap data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Functions
util.hpp File Reference
#include <chrono>
#include <future>
#include <sys/prctl.h>
Include dependency graph for util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 osmium
 Namespace for everything in the Osmium library.
 
 osmium::thread
 Threading-related low-level code.
 

Functions

template<class T >
void osmium::thread::check_for_exception (std::future< T > &future)
 
template<class T >
void osmium::thread::wait_until_done (std::future< T > &future)
 
void osmium::thread::set_thread_name (const char *name)