win32/mt_threadimpl.cpp File Reference

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

#include <windows.h>
#include <process.h>
#include <ders/thread.hpp>
#include <algorithm>
#include <vector>
#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

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

Definition in file win32/mt_threadimpl.cpp.


Variable Documentation

tc_ptr core

Definition at line 31 of file win32/mt_threadimpl.cpp.

CRITICAL_SECTION cs

Definition at line 44 of file win32/mt_threadimpl.cpp.

event_cache evc

Definition at line 71 of file win32/mt_threadimpl.cpp.

vector<HANDLE> evs

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

mutex& m

Definition at line 70 of file win32/mt_threadimpl.cpp.

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

vector<HANDLE> wts

Definition at line 72 of file win32/mt_threadimpl.cpp.


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