rthreads: Fix documentation (void function doesn’t return)
This commit is contained in:
parent
f6064006d2
commit
917db3ecac
|
@ -87,8 +87,6 @@ int sthread_detach(sthread_t *thread);
|
||||||
* @thread to terminate. If that thread has already terminated, then
|
* @thread to terminate. If that thread has already terminated, then
|
||||||
* it will return immediately. The thread specified by @thread must
|
* it will return immediately. The thread specified by @thread must
|
||||||
* be joinable.
|
* be joinable.
|
||||||
*
|
|
||||||
* Returns: 0 on success, otherwise it returns a non-zero error number.
|
|
||||||
*/
|
*/
|
||||||
void sthread_join(sthread_t *thread);
|
void sthread_join(sthread_t *thread);
|
||||||
|
|
||||||
|
|
|
@ -270,8 +270,6 @@ int sthread_detach(sthread_t *thread)
|
||||||
* @thread to terminate. If that thread has already terminated, then
|
* @thread to terminate. If that thread has already terminated, then
|
||||||
* it will return immediately. The thread specified by @thread must
|
* it will return immediately. The thread specified by @thread must
|
||||||
* be joinable.
|
* be joinable.
|
||||||
*
|
|
||||||
* Returns: 0 on success, otherwise it returns a non-zero error number.
|
|
||||||
*/
|
*/
|
||||||
void sthread_join(sthread_t *thread)
|
void sthread_join(sthread_t *thread)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue