Function utils::policy_to_str#

Function Documentation#

std::string utils::policy_to_str(const int &policy)#

Convert a pthread policy to string.

Parameters

policy – [in] The policy to convert.

Returns

std::string, the policy as string.

Corail is free software: you can redistribute it and/or modify it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.