You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2014/11/16 02:39:04 UTC
[07/30] mesos git commit: Removed redundant synchronization and
conditional check.
Removed redundant synchronization and conditional check.
Review: https://reviews.apache.org/r/27500
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6df6d02c
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6df6d02c
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6df6d02c
Branch: refs/heads/master
Commit: 6df6d02c2669575037fb0fb5bbbb4d6f1ccdccc1
Parents: b1f2bb9
Author: Benjamin Hindman <be...@gmail.com>
Authored: Sun Nov 2 15:57:21 2014 -0800
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Sat Nov 15 16:25:58 2014 -0800
----------------------------------------------------------------------
3rdparty/libprocess/src/process.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/6df6d02c/3rdparty/libprocess/src/process.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/process.cpp b/3rdparty/libprocess/src/process.cpp
index 9551d99..0995a9c 100644
--- a/3rdparty/libprocess/src/process.cpp
+++ b/3rdparty/libprocess/src/process.cpp
@@ -2444,11 +2444,7 @@ void SocketManager::exited(ProcessBase* process)
if (linkee == pid) {
foreach (ProcessBase* linker, processes) {
CHECK(linker != process) << "Process linked with itself";
- synchronized (timeouts) {
- if (Clock::paused()) {
- Clock::update(linker, time);
- }
- }
+ Clock::update(linker, time);
linker->enqueue(new ExitedEvent(linkee));
}
}