~vibhavp/ubuntu/saucy/urg/merge-from-debian

« back to all changes in this revision

Viewing changes to src/cpp/system/Lock.h

  • Committer: Bazaar Package Importer
  • Author(s): Albert Huang
  • Date: 2011-05-20 11:33:03 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110520113303-u8niofzwzcea0osk
Tags: 0.8.12-1
* New upstream release (closes: #624987)
* Add debian/watch file
* Bump standards-version to 3.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
  \author Satofumi KAMIMURA
9
9
 
10
 
  $Id: Lock.h 783 2009-05-05 08:56:26Z satofumi $
 
10
  $Id: Lock.h 1949 2011-05-06 07:18:01Z satofumi $
11
11
*/
12
12
 
13
13
#include "ConditionVariable.h"
 
14
#include <cstddef>
14
15
 
15
16
 
16
17
namespace qrk
26
27
    Lock(const Lock& rhs);
27
28
    Lock& operator = (const Lock& rhs);
28
29
 
29
 
    // !!! ?
30
 
    void* operator new (size_t);
31
 
    void* operator new[] (size_t);
 
30
    // !!!
 
31
    //void* operator new (size_t);
 
32
    //void* operator new[] (size_t);
32
33
 
33
34
    struct pImpl;
34
35
    const std::auto_ptr<pImpl> pimpl;
45
46
 
46
47
 
47
48
    /*!
 
49
      \brief ���b�N
 
50
    */
 
51
    bool tryLock(void);
 
52
 
 
53
 
 
54
    /*!
48
55
      \brief �A�����b�N
49
56
    */
50
57
    void unlock(void);