Project

General

Profile

Revision b781545c

IDb781545cbe86f50b4a5266115f2ec45f0d5f4316

Added by Georg Kunz over 8 years ago

[master] streamlined templated implementation of locks

View differences:

include/clockeddefaultlist.h
22 22
#define __CLOCKEDDEFAULTLIST_H
23 23

  
24 24
#include <pthread.h>
25

  
26 25
#include "cdefaultlist.h"
27
#include "clock.h"
28 26

  
29 27

  
30 28
/**
......
36 34
class SIM_API cLockedDefaultList : public cDefaultList
37 35
{
38 36
  private:
39

  
40
    cLock* lock;    // the lock
37
	T lock;
41 38

  
42 39
    //void construct();
43 40
    virtual void doInsert(cOwnedObject *obj);                                // called from constructor of cObject

Also available in: Unified diff