OKlibrary  0.2.1.6
OKlib::Parallelism Namespace Reference

Classes

class  Counting_and_writing
 Constructed with a total count and an output-filestream. More...
class  Counter
 Functor class, counting a counter down, to simulate some operation. More...
class  CounterWithMutex
 Publically derived from Counter, provides mutex-functionality. More...
class  Test_Counter

Functions

void write_number (const int n, std::ofstream &f)
 Write an integer to the beginning of a filestream.

Function Documentation

void OKlib::Parallelism::write_number ( const int  n,
std::ofstream &  f 
) [inline]

Write an integer to the beginning of a filestream.

Definition at line 57 of file demo_Example_12_1.cpp.

Referenced by OKlib::Parallelism::Counting_and_writing::operator()().