Classes | Typedefs | Functions | Variables

thread.h File Reference

Contains the functions that deal with the distribution of the threads for mutli-threaded execution. More...

#include <vector>
#include <boost/thread.hpp>
#include "tractography.h"

Go to the source code of this file.

Classes

class  Thread
 Generic class for threads. More...
class  TractographyThread
 One thread of the tractography. More...
class  ProgressThread
 Thread for monitoring the progress of tractogrpahy. More...

Typedefs

typedef std::vector< int > WorkList
typedef std::vector< WorkList > WorkDistribution

Functions

WorkDistribution GenerateWorkDistribution (const int num_threads, const int total_num_works)

Variables

const int PROGRESS_REPORT_INTERVAL = 2

Detailed Description

Contains the functions that deal with the distribution of the threads for mutli-threaded execution.

Author:
Yinpeng Li (mousquetaires@unc.edu)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines