projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
runImmediatly fix
[folly.git]
/
folly
/
io
/
async
/
EventBase.cpp
diff --git
a/folly/io/async/EventBase.cpp
b/folly/io/async/EventBase.cpp
index 5ff171eb2c3f7c043ceb04ee03b7df8793cf4e42..b6cd8ca120a7a4e5fd872a71e9a7eab19d7577af 100644
(file)
--- a/
folly/io/async/EventBase.cpp
+++ b/
folly/io/async/EventBase.cpp
@@
-611,7
+611,7
@@
bool EventBase::runInEventBaseThreadAndWait(const Cob& fn) {
}
bool EventBase::runImmediatelyOrRunInEventBaseThreadAndWait(const Cob& fn) {
- if (i
nRunning
EventBaseThread()) {
+ if (i
sIn
EventBaseThread()) {
fn();
return true;
} else {