Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6cc5558f
Commit
6cc5558f
authored
Apr 11, 2012
by
Jonathan Wakely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* testsuite/performance/30_threads/future/polling.cc: Adjust.
From-SVN: r186354
parent
559d990c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
libstdc++-v3/ChangeLog
+5
-1
libstdc++-v3/testsuite/performance/30_threads/future/polling.cc
+2
-2
No files found.
libstdc++-v3/ChangeLog
View file @
6cc5558f
2012-04-11 Jonathan Wakely <jwakely.gcc@gmail.com>
* testsuite/performance/30_threads/future/polling.cc: Adjust.
2012-04-11 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h (splice_after(const_iterator,
forward_list&), splice_after(const_iterator, forward_list&,
cons
s
t_iterator), splice_after(const_iterator, forward_list&,
const_iterator), splice_after(const_iterator, forward_list&,
const_iterator, const_iterator), merge(forward_list&),
merge(forward_list&, _Comp)): Add per C++11 as published (and
LWG 1310).
...
...
libstdc++-v3/testsuite/performance/30_threads/future/polling.cc
View file @
6cc5558f
// Copyright (C) 2009, 2010 Free Software Foundation, Inc.
// Copyright (C) 2009, 2010
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -22,7 +22,7 @@
inline
bool
is_ready
(
std
::
shared_future
<
void
>&
f
)
{
return
f
.
wait_for
(
std
::
chrono
::
microseconds
(
1
));
return
f
.
wait_for
(
std
::
chrono
::
microseconds
(
1
))
==
std
::
future_status
::
ready
;
}
void
poll
(
std
::
shared_future
<
void
>
f
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment