Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7d07eae6
Commit
7d07eae6
authored
May 19, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: os_thread_get_curr_id(), os_thread_get_curr():
Add missing out: comments.
parent
e77f7467
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
include/os0thread.h
include/os0thread.h
+2
-0
os/os0thread.c
os/os0thread.c
+2
-0
No files found.
include/os0thread.h
View file @
7d07eae6
...
...
@@ -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
...
...
os/os0thread.c
View file @
7d07eae6
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment