|
TBCI Numerical high perf. C++ Library
2.8.0
|
#include "tbci/basics.h"
Go to the source code of this file.
Classes | |
| struct | job_input |
| struct | job_output |
| struct | thr_struct |
| struct | thr_ctrl |
Macros | |
| #define | THREAD_MAX_ARGS 6 |
| #define | THREAD_MAX_RES_LN 16 |
| #define | MAIN_PID (getpid()) |
| #define | num_threads (0) |
| #define | thrno (0) |
| #define | ismainthread (1) |
| #define | threads_avail(x) (0) |
Typedefs | |
| typedef void(* | thr_job_t )(struct thr_ctrl *) |
| Before the double inclusion guard on purpose! More... | |
| typedef void *(* | useful_job_t )(void *) |
Functions | |
| struct thr_struct | ALIGN (64) |
| static int | init_threads (const int=0, const bool=false) |
| static void | bind_threads (bool=true, bool=true, bool=false) |
| static void | free_threads () |
| static void | disable_threads () |
| static void | reenable_threads () |
Variables | |
| int | t_no |
| pid_t | t_pid |
| pthread_t | t_id |
| int | t_pipe_to_thread [2] |
| int | t_pipe_from_thread [2] |
| unsigned int | t_done_var |
| int | numa_node |
| struct thr_ctrl | ALIGN |
Multithreading support framework based on POSIX threads. Control via TBCI::thr_ctrl
License: GNU LGPL
Definition in file smp.h.
| #define THREAD_MAX_ARGS 6 |
Definition at line 129 of file smp.h.
Referenced by _thread_start_off().
| #define THREAD_MAX_RES_LN 16 |
Definition at line 130 of file smp.h.
Referenced by dot(), and Vector< T >::operator*().
| #define threads_avail | ( | x | ) | (0) |
Definition at line 322 of file smp.h.
Referenced by dot(), Vector< T >::fabssqr(), HOTDECL(), BdMatrix< T >::operator*(), Vector< T >::operator*(), Matrix< T >::operator*(), par_fill(), Vector< T >::sum(), BdMatrix< T >::transMult(), and Matrix< T >::transMult().
| typedef void(* thr_job_t)(struct thr_ctrl *) |
| struct thr_struct ALIGN | ( | 64 | ) |
| struct thr_ctrl ALIGN |
1.8.5