Commit 871764af authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

adapted to Argobots 1.0

parent dcd61c83
......@@ -49,8 +49,6 @@ class xstream_exception : public exception {
* the different states an ES can be in.
*/
enum class xstream_state : std::int32_t {
created = ABT_XSTREAM_STATE_CREATED,
ready = ABT_XSTREAM_STATE_READY,
running = ABT_XSTREAM_STATE_RUNNING,
terminated = ABT_XSTREAM_STATE_TERMINATED
};
......@@ -214,16 +212,6 @@ class xstream {
*/
~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.
*
......
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