File: parthreads.cpp

package info (click to toggle)
netgen 6.2.2601%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,076 kB
  • sloc: cpp: 166,627; tcl: 6,310; python: 2,868; sh: 528; makefile: 90
file content (40 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**************************************************************************/
/* 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
}

*/