From 38082ee1d632fe14dfcfe520213ba5899cf8d3ff Mon Sep 17 00:00:00 2001 From: quemy Date: Tue, 21 Aug 2012 07:47:48 +0000 Subject: [PATCH] Remove this_thread::sleep_for not supported by Fedora atm git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2719 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/smp/src/thread.cpp | 2 +- trunk/smp/test/t-smpThread.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/smp/src/thread.cpp b/trunk/smp/src/thread.cpp index 02be9af89..8203a1e40 100644 --- a/trunk/smp/src/thread.cpp +++ b/trunk/smp/src/thread.cpp @@ -43,7 +43,7 @@ namespace smp Thread& Thread::operator=(Thread&& other) { - t = std::move(other.t); + t = std::move(other.t); return *this; } diff --git a/trunk/smp/test/t-smpThread.cpp b/trunk/smp/test/t-smpThread.cpp index 282d81075..83eba41cb 100644 --- a/trunk/smp/test/t-smpThread.cpp +++ b/trunk/smp/test/t-smpThread.cpp @@ -26,7 +26,7 @@ void g(std::atomic &x) void foo() { std::cout << "Foo" << std::endl; - std::this_thread::sleep_for(std::chrono::seconds(1)); + //std::this_thread::sleep_for(std::chrono::seconds(1)); } int main(void)