Commit a7942035 authored by marko's avatar marko

branches/zip: os_thread_get_curr_id(), os_thread_get_curr():

Add missing out: comments.
parent a15f8bec
...@@ -109,12 +109,14 @@ UNIV_INTERN ...@@ -109,12 +109,14 @@ UNIV_INTERN
os_thread_id_t os_thread_id_t
os_thread_get_curr_id(void); os_thread_get_curr_id(void);
/*========================*/ /*========================*/
/* out: current thread identifier */
/********************************************************************* /*********************************************************************
Returns handle to the current thread. */ Returns handle to the current thread. */
UNIV_INTERN UNIV_INTERN
os_thread_t os_thread_t
os_thread_get_curr(void); os_thread_get_curr(void);
/*====================*/ /*====================*/
/* out: current thread handle */
/********************************************************************* /*********************************************************************
Advises the os to give up remainder of the thread's time slice. */ Advises the os to give up remainder of the thread's time slice. */
UNIV_INTERN UNIV_INTERN
......
...@@ -87,6 +87,7 @@ UNIV_INTERN ...@@ -87,6 +87,7 @@ UNIV_INTERN
os_thread_id_t os_thread_id_t
os_thread_get_curr_id(void) os_thread_get_curr_id(void)
/*=======================*/ /*=======================*/
/* out: current thread identifier */
{ {
#ifdef __WIN__ #ifdef __WIN__
return(GetCurrentThreadId()); return(GetCurrentThreadId());
...@@ -240,6 +241,7 @@ UNIV_INTERN ...@@ -240,6 +241,7 @@ UNIV_INTERN
os_thread_t os_thread_t
os_thread_get_curr(void) os_thread_get_curr(void)
/*====================*/ /*====================*/
/* out: current thread handle */
{ {
#ifdef __WIN__ #ifdef __WIN__
return(GetCurrentThread()); return(GetCurrentThread());
......
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