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:
parent
354ac605bb
commit
38082ee1d6
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue