libthreadar.hpp
Go to the documentation of this file.
/*********************************************************************/
// libthreadar - is a library providing several C++ classes to work with threads
// Copyright (C) 2014-2020 Denis Corbin
//
// This file is part of libthreadar
//
// libthreadar is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// libhtreadar is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with libthreadar. If not, see <http://www.gnu.org/licenses/>
//
//----
// to contact the author: dar.linux@free.fr
/*********************************************************************/
#ifndef LIBTHREADAR_HPP
#define LIBTHREADAR_HPP
#include "config.h"
#include "mutex.hpp"
#include "semaphore.hpp"
#include "condition.hpp"
#include "barrier.hpp"
#include "tampon.hpp"
#include "fast_tampon.hpp"
#include "thread.hpp"
#include "freezer.hpp"
#include "ratelier_gather.hpp"
#include "ratelier_scatter.hpp"
namespace libthreadar
{
extern void get_version(unsigned int & major, unsigned int & medium, unsigned int & minor);
} // end of namespace
extern "C"
{
extern unsigned int for_autoconf(unsigned int x);
}
#endif
barrier.hpp
defines the barrier C++ class, to synchronize several threads
condition.hpp
defines the condition class
fast_tampon.hpp
defines the fast_tampon class that provides simplified but fast asynchronous pipe-like (unidirectiona...
freezer.hpp
defines the freezer class
for_autoconf
unsigned int for_autoconf(unsigned int x)
in case you use autoconf AC_CHECK_LIB in your program to detect the availability of libthreadar
mutex.hpp
defines the mutex C++ class
libthreadar
This is the only namespace used in libthreadar and all symbols provided by libthreadar are member of ...
Definition: barrier.hpp:46
libthreadar::get_version
void get_version(unsigned int &major, unsigned int &medium, unsigned int &minor)
provides the version of libthreadar
ratelier_gather.hpp
defines structure that is suitable to gather data from many workers
ratelier_scatter.hpp
defines structure that is suitable to dispatch between many workers taking job order in consideration
semaphore.hpp
defines the semaphore class
tampon.hpp
defines the tampon class that provides asynchronous pipe-like (unidirectional) communication between ...
thread.hpp
holds the definition of the thread class