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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0dafcf52
Commit
0dafcf52
authored
Dec 20, 2018
by
Eugene Kosov
Committed by
Sergey Vojtovich
Dec 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup os_event
parent
ed166f53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
storage/innobase/os/os0event.cc
storage/innobase/os/os0event.cc
+2
-12
No files found.
storage/innobase/os/os0event.cc
View file @
0dafcf52
...
...
@@ -31,8 +31,6 @@ Created 2012-09-23 Sunny Bains
#include <synchapi.h>
#endif
/* _WIN32 */
#include <list>
/** The number of microsecnds in a second. */
static
const
ulint
MICROSECS_IN_A_SECOND
=
1000000
;
...
...
@@ -44,9 +42,6 @@ typedef CONDITION_VARIABLE os_cond_t;
typedef
pthread_cond_t
os_cond_t
;
#endif
/* _WIN32 */
typedef
std
::
list
<
os_event_t
,
ut_allocator
<
os_event_t
>
>
os_event_list_t
;
typedef
os_event_list_t
::
iterator
event_iter_t
;
/** InnoDB condition variable. */
struct
os_event
{
os_event
(
const
char
*
name
)
UNIV_NOTHROW
;
...
...
@@ -234,9 +229,6 @@ struct os_event {
os_cond_t
cond_var
;
/*!< condition variable is
used in waiting for the event */
public:
event_iter_t
event_iter
;
/*!< For O(1) removal from
list */
protected:
// Disable copying
os_event
(
const
os_event
&
);
...
...
@@ -544,8 +536,6 @@ os_event_destroy(
os_event_t
&
event
)
/*!< in/own: event to free */
{
if
(
event
!=
NULL
)
{
UT_DELETE
(
event
);
event
=
NULL
;
}
UT_DELETE
(
event
);
event
=
NULL
;
}
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