mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
branches/zip: os_thread_get_curr_id(), os_thread_get_curr():
Add missing out: comments.
This commit is contained in:
parent
a15f8bec88
commit
a7942035c2
2 changed files with 4 additions and 0 deletions
|
@ -109,12 +109,14 @@ UNIV_INTERN
|
|||
os_thread_id_t
|
||||
os_thread_get_curr_id(void);
|
||||
/*========================*/
|
||||
/* out: current thread identifier */
|
||||
/*********************************************************************
|
||||
Returns handle to the current thread. */
|
||||
UNIV_INTERN
|
||||
os_thread_t
|
||||
os_thread_get_curr(void);
|
||||
/*====================*/
|
||||
/* out: current thread handle */
|
||||
/*********************************************************************
|
||||
Advises the os to give up remainder of the thread's time slice. */
|
||||
UNIV_INTERN
|
||||
|
|
|
@ -87,6 +87,7 @@ UNIV_INTERN
|
|||
os_thread_id_t
|
||||
os_thread_get_curr_id(void)
|
||||
/*=======================*/
|
||||
/* out: current thread identifier */
|
||||
{
|
||||
#ifdef __WIN__
|
||||
return(GetCurrentThreadId());
|
||||
|
@ -240,6 +241,7 @@ UNIV_INTERN
|
|||
os_thread_t
|
||||
os_thread_get_curr(void)
|
||||
/*====================*/
|
||||
/* out: current thread handle */
|
||||
{
|
||||
#ifdef __WIN__
|
||||
return(GetCurrentThread());
|
||||
|
|
Loading…
Add table
Reference in a new issue