This is a subsequent question to this thread.
I pass a struct ...
struct threadDirectives_t {
    int block;
    medianfilter mFilter;
};
... to my thread's method computeSignalBlock. However, it does not output any text. Neither with cout, nor with printf. 
I only get this console output:
Start computing filtered results.
Started thread 0.
Started thread 1.
Why is that?
void medianfilter::computeFilteredResults(vector<float> _signals, int _nThreads,
        int _windowSize, bool _isParallel) {
    printf("Start computing filtered results.\n");
    // Set instanz variables.
    originalSignalVector = _signals;
    nThreads = _nThreads;
    windowSize = _windowSize;
    isParallel = _isParallel;
    // Create the threads,
    pthread_t threads[nThreads];
    threadDirectives_t threadDirectivesArr[nThreads];
    pthread_attr_t attr;
    // Initialize and set thread joinable
    pthread_attr_init(&attr);
    pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
    int threatResponse;
    for (int i = 0; i < nThreads; i++) {
        threadDirectives_t iTD;
        iTD.block = i;
        iTD.mFilter = *this;
        threadDirectivesArr[i] = iTD;
        threatResponse = pthread_create(&threads[i], NULL, computeSignalBlock,
                (void *) &threadDirectivesArr[i]);
        if (threatResponse) {
            printf("Error: unable to create thread: %d\n", threatResponse);
            exit(-1);
        }
        printf("Started thread %d.\n",  i);
    }
}
void *medianfilter::computeSignalBlock(void *threadDirectives) {
    threadDirectives_t* thisPtr =
            reinterpret_cast<threadDirectives_t*>(threadDirectives);
    cout << "test";
    //TODO I need  access to instance variables!!
    // 1) Get my block to compute.
    printf("This is computation block # %d\n", thisPtr->block);
    // 2) Compute block.
}
Building the project completes with warnings.
12:55:39 **** Incremental Build of configuration Debug for project SSExercise3 ****
make all 
Building file: ../src/medianfilter.cpp
Invoking: GCC C++ Compiler
g++ -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -pthread -MMD -MP -MF"src/medianfilter.d" -MT"src/medianfilter.d" -o "src/medianfilter.o" "../src/medianfilter.cpp"
../src/medianfilter.cpp: In static member function ‘static void* medianfilter::computeSignalBlock(void*)’:
../src/medianfilter.cpp:79:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Finished building: ../src/medianfilter.cpp
Building target: SSExercise3
Invoking: GCC C++ Linker
g++ -pthread -o "SSExercise3"  ./src/SSExercise3.o ./src/medianfilter.o ./src/reader.o   
Finished building target: SSExercise3
12:55:40 Build Finished (took 1s.204ms)
What am I missing?