.. _file__tmp_ws_src_ecl_core_ecl_threads_include_ecl_threads.hpp: File threads.hpp ================ |exhale_lsh| :ref:`Parent directory ` (``/tmp/ws/src/ecl_core/ecl_threads/include/ecl``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Cross-platform threading interfaces. .. contents:: Contents :local: :backlinks: none Definition (``/tmp/ws/src/ecl_core/ecl_threads/include/ecl/threads.hpp``) ------------------------------------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file__tmp_ws_src_ecl_core_ecl_threads_include_ecl_threads.hpp.rst Detailed Description -------------------- Threads are modelled here as classes. The threading functionality can be utilised in two ways, either via inheritance or composition. Choice of which is simply a matter of personal style. There are more complex thread managers out there, but this suits the requirements of a small project and merely aims to provide a robust and lightweight cross-platform interface. June, 2009 Includes -------- - ``threads/mutex.hpp`` (:ref:`file__tmp_ws_src_ecl_core_ecl_threads_include_ecl_threads_mutex.hpp`) - ``threads/priority.hpp`` (:ref:`file__tmp_ws_src_ecl_core_ecl_threads_include_ecl_threads_priority.hpp`) - ``threads/thread.hpp`` (:ref:`file__tmp_ws_src_ecl_core_ecl_threads_include_ecl_threads_thread.hpp`) - ``threads/threadable.hpp`` (:ref:`file__tmp_ws_src_ecl_core_ecl_threads_include_ecl_threads_threadable.hpp`)