File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
branches/snap-stage3/src/rt/sync Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: f954ce5ef18391efcb21e757e5e6546b2599e940
4
+ refs/heads/snap-stage3: 6b5f7865bea09737f67fa7ff5af5ee49b52955bb
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change 11
11
12
12
#if defined(__WIN32__)
13
13
lock_and_signal::lock_and_signal ()
14
- : alive(true )
15
14
{
16
15
// FIXME: In order to match the behavior of pthread_cond_broadcast on
17
16
// Windows, we create manual reset events. This however breaks the
@@ -24,7 +23,7 @@ lock_and_signal::lock_and_signal()
24
23
25
24
#else
26
25
lock_and_signal::lock_and_signal ()
27
- : _locked(false ), alive( true )
26
+ : _locked(false )
28
27
{
29
28
CHECKED (pthread_cond_init (&_cond, NULL ));
30
29
CHECKED (pthread_mutex_init (&_mutex, NULL ));
@@ -38,7 +37,6 @@ lock_and_signal::~lock_and_signal() {
38
37
CHECKED (pthread_cond_destroy (&_cond));
39
38
CHECKED (pthread_mutex_destroy (&_mutex));
40
39
#endif
41
- alive = false ;
42
40
}
43
41
44
42
void lock_and_signal::lock () {
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ class lock_and_signal {
15
15
#endif
16
16
bool _locked;
17
17
18
- bool alive;
19
-
20
18
public:
21
19
lock_and_signal ();
22
20
virtual ~lock_and_signal ();
You can’t perform that action at this time.
0 commit comments