Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make TMutex compliant with standard library
  • Loading branch information
pcanal committed Jun 22, 2017
commit 6baaf01f28e4adbf0480d04842308f27ee533a20
4 changes: 4 additions & 0 deletions core/thread/inc/TMutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ friend class TThread;
Int_t UnLock();
Int_t CleanUp();

// Compatibility with standard library
void lock() { TMutex::Lock(); }
void unlock() { TMutex::UnLock(); }

TVirtualMutex *Factory(Bool_t recursive = kFALSE);

ClassDef(TMutex,0) // Mutex lock class
Expand Down