My Project
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
thread.cc File Reference
#include "threadconf.h"
#include <list>
#include <vector>
#include <cstring>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include "thread.h"
#include "singthreads.h"

Go to the source code of this file.

Namespaces

namespace  LibThread
 

Functions

void ThreadError (const char *message)
 
template<typename T >
TLibThread::shared_alloc (size_t n)
 
template<typename T >
TLibThread::shared_alloc0 (size_t n)
 
template<typename T >
void LibThread::shared_free (T *p)
 

Variables

pthread_t no_thread
 

Function Documentation

◆ ThreadError()

void ThreadError ( const char *  message)

Definition at line 18 of file thread.cc.

18 {
19 fprintf(stderr, "FATAL ERROR: %s\n", message);
20 abort(); // should not happen
21}
void message(int i, int *reduc, int *olddeg, kStrategy strat, int red_result)
Definition: kutil.cc:7512

Variable Documentation

◆ no_thread

pthread_t no_thread

Definition at line 16 of file thread.cc.