From 7f751d5559867261a5a866b253ed313f5f3e1d27 Mon Sep 17 00:00:00 2001 From: Marcus Winter Date: Thu, 27 Oct 2016 11:49:27 +0200 Subject: [PATCH] mtapi_cpp: added missing documentation --- mtapi_cpp/include/embb/mtapi/node_attributes.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mtapi_cpp/include/embb/mtapi/node_attributes.h b/mtapi_cpp/include/embb/mtapi/node_attributes.h index ec2e016..bb96c12 100644 --- a/mtapi_cpp/include/embb/mtapi/node_attributes.h +++ b/mtapi_cpp/include/embb/mtapi/node_attributes.h @@ -43,6 +43,8 @@ class NodeAttributes { public: /** * Constructs a NodeAttributes object. + * + * \waitfree */ NodeAttributes() { mtapi_status_t status; @@ -52,6 +54,8 @@ class NodeAttributes { /** * Copies a NodeAttributes object. + * + * \waitfree */ NodeAttributes( NodeAttributes const & other /**< The NodeAttributes to copy. */ @@ -62,6 +66,8 @@ class NodeAttributes { /** * Copies a NodeAttributes object. + * + * \waitfree */ void operator=( NodeAttributes const & other /**< The NodeAttributes to copy. */ @@ -232,6 +238,12 @@ class NodeAttributes { return *this; } + /** + * Enables or disables the reuse of the main thread as a worker. + * + * \returns Reference to this object. + * \notthreadsafe + */ NodeAttributes & SetReuseMainThread( mtapi_boolean_t reuse ) { -- libgit2 0.26.0