posix/mt_threadimpl.cpp File Reference

POSIX multithreaded implementation of functions new_thread(), new_mutex(), new_cond_var(). More...

#include <ders/thread.hpp>
#include <errno.h>
#include <pthread.h>
#include <time.h>
#include <ders/error.hpp>

Go to the source code of this file.

Namespaces

namespace  ders

Functions

sh_thread ders::new_thread (mem_pool &mp, void(*start)(void *), void *arg)
 Creates new thread.
sh_mutex ders::new_mutex (mem_pool &mp)
 Creates new mutex object for usual short term locking.
sh_cond_var ders::new_cond_var (mem_pool &mp, mutex &mtx)
 Creates new cond_var object.


Detailed Description

POSIX multithreaded implementation of functions new_thread(), new_mutex(), new_cond_var().

Definition in file posix/mt_threadimpl.cpp.


Variable Documentation

tc_ptr core

Definition at line 30 of file posix/mt_threadimpl.cpp.

pthread_cond_t cv

Definition at line 56 of file posix/mt_threadimpl.cpp.

Definition at line 29 of file posix/mt_threadimpl.cpp.

pthread_mutex_t mtx

Definition at line 43 of file posix/mt_threadimpl.cpp.

pos_mutex& pm

Definition at line 55 of file posix/mt_threadimpl.cpp.


Generated on Tue Dec 8 11:35:32 2009 for derslib by  doxygen 1.5.5