Commit 8dc0707c authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

added implementation of wait_any

parents 4a922e0f 871764af
...@@ -49,8 +49,6 @@ class xstream_exception : public exception { ...@@ -49,8 +49,6 @@ class xstream_exception : public exception {
* the different states an ES can be in. * the different states an ES can be in.
*/ */
enum class xstream_state : std::int32_t { enum class xstream_state : std::int32_t {
created = ABT_XSTREAM_STATE_CREATED,
ready = ABT_XSTREAM_STATE_READY,
running = ABT_XSTREAM_STATE_RUNNING, running = ABT_XSTREAM_STATE_RUNNING,
terminated = ABT_XSTREAM_STATE_TERMINATED terminated = ABT_XSTREAM_STATE_TERMINATED
}; };
...@@ -214,16 +212,6 @@ class xstream { ...@@ -214,16 +212,6 @@ class xstream {
*/ */
~xstream() = default; ~xstream() = default;
/**
* @brief Starts the xstream if it has not been started.
* That is, this routine is effective only when the state
* of the ES is CREATED or READY, and once this routine returns,
* the ES's state becomes RUNNING.
*/
void start() {
TL_ES_ASSERT(ABT_xstream_start(m_xstream));
}
/** /**
* @brief Wait for xstream to terminate. * @brief Wait for xstream to terminate.
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment