mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 13:50:33 +05:00
41 lines
725 B
C++
41 lines
725 B
C++
/**************************************************************************/
|
|
/* File: parthreads.cpp */
|
|
/* Author: Joachim Schoeberl */
|
|
/* Date: 01. Jun. 95 */
|
|
/**************************************************************************/
|
|
|
|
|
|
#include <mystdlib.h>
|
|
#include <myadt.hpp>
|
|
|
|
/*
|
|
|
|
namespace netgen
|
|
{
|
|
using namespace netgen;
|
|
|
|
#ifdef WIN32
|
|
|
|
NgLock :: NgLock (NgMutex & mut)
|
|
: sl(&mut.cs)
|
|
{
|
|
;
|
|
}
|
|
|
|
void NgLock :: Lock ()
|
|
{
|
|
sl.Lock();
|
|
}
|
|
void NgLock :: UnLock ()
|
|
{
|
|
sl.Unlock();
|
|
}
|
|
|
|
|
|
#else
|
|
|
|
#endif
|
|
}
|
|
|
|
*/
|