KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
Thread support

Classes

class  kjb::Fftw_image_convolution
 this is a simple adaptation of Fftw_convolution_2d to Image input. More...
 
class  kjb::Pthread_mutex
 dynamically allocated mutex: unlock before you destroy it! More...
 
struct  kjb::Pthread_locked_mutex
 same as Pthread_mutex, but starts off in "locked" state. More...
 
class  kjb::Mutex_lock
 simple RAII class to grab and release a mutex More...
 
class  kjb::Pthread_attr
 RAII class to manage an object of type kjb_pthread_attr_t. More...
 
class  kjb::Fftw_convolution_2d
 A class for performing 2d convolution using the FFTW library. More...
 

Functions

bool kjb::work_buffer_is_unique (const Fftw_convolution_2d::Work_buffer &b)
 test whether a Work_buffer object is the last handle to its memory More...
 

Detailed Description

This group contains classes that support multi-threaded programs, at a low level (like mutexes) and at a high level (like partially thread-safe, paralleized classes for fast convolution).

Function Documentation

bool kjb::work_buffer_is_unique ( const Fftw_convolution_2d::Work_buffer &  b)
inline

test whether a Work_buffer object is the last handle to its memory

This is a utility function useful for reasons described in Destroying a Work_buffer