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
This commit is contained in:
quemy 2012-08-21 07:47:48 +00:00
commit 38082ee1d6
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ namespace smp
Thread& Thread::operator=(Thread&& other) Thread& Thread::operator=(Thread&& other)
{ {
t = std::move(other.t); t = std::move(other.t);
return *this; return *this;
} }

View file

@ -26,7 +26,7 @@ void g(std::atomic<int> &x)
void foo() void foo()
{ {
std::cout << "Foo" << std::endl; 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) int main(void)