Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ed8f8
)
ecere/sys/Semaphore (OS X): TryWait(): Fixed uninitialized return value
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 29 Mar 2014 21:51:22 +0000
(17:51 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 29 Mar 2014 21:51:22 +0000
(17:51 -0400)
- This was causing the GdbCommand timeout to return wrong value
ecere/src/sys/Semaphore.ec
patch
|
blob
|
history
diff --git
a/ecere/src/sys/Semaphore.ec
b/ecere/src/sys/Semaphore.ec
index
7aaf236
..
44c692c
100644
(file)
--- a/
ecere/src/sys/Semaphore.ec
+++ b/
ecere/src/sys/Semaphore.ec
@@
-71,6
+71,7
@@
public:
#elif defined(__APPLE__)
bool wait = false;
mutex.Wait();
+ result = false;
if(count > 0)
{
count--;