This website works better with JavaScript.
Home
Help
Register
Sign In
leviathan
/
libpEpAdapter
forked from
pEp.foundation/libpEpAdapter
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
...
synchronous
Volker Birk
2 years ago
parent
e952ff4a29
commit
4fa5b2d05f
1 changed files
with
4 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-5
Semaphore.hh
+ 4
- 5
Semaphore.hh
View File
@ -3,6 +3,10 @@
namespace
pEp
{
class
Semaphore
{
std
:
:
mutex
mtx
;
std
:
:
condition_variable
cv
;
bool
_stop
;
public
:
Semaphore
(
)
:
_stop
(
false
)
{
}
@ -28,11 +32,6 @@ namespace pEp {
_stop
=
false
;
cv
.
notify_all
(
)
;
}
private
:
std
:
:
mutex
mtx
;
std
:
:
condition_variable
cv
;
bool
_stop
;
}
;
}
Write
Preview
Loading…
Cancel
Save