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
cef5df82
Commit
cef5df82
authored
May 14, 2003
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os0sync.c:
Check that pthread_mutex_init and pthread_mutex_destroy return 0
parent
75e49549
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
innobase/os/os0sync.c
innobase/os/os0sync.c
+3
-3
No files found.
innobase/os/os0sync.c
View file @
cef5df82
...
...
@@ -446,9 +446,9 @@ os_fast_mutex_init(
InitializeCriticalSection
((
LPCRITICAL_SECTION
)
fast_mutex
);
#else
#if defined(UNIV_HOTBACKUP) && defined(UNIV_HPUX10)
pthread_mutex_init
(
fast_mutex
,
pthread_mutexattr_default
);
ut_a
(
0
==
pthread_mutex_init
(
fast_mutex
,
pthread_mutexattr_default
)
);
#else
pthread_mutex_init
(
fast_mutex
,
MY_MUTEX_INIT_FAST
);
ut_a
(
0
==
pthread_mutex_init
(
fast_mutex
,
MY_MUTEX_INIT_FAST
)
);
#endif
#endif
}
...
...
@@ -496,6 +496,6 @@ os_fast_mutex_free(
DeleteCriticalSection
((
LPCRITICAL_SECTION
)
fast_mutex
);
#else
pthread_mutex_destroy
(
fast_mutex
);
ut_a
(
0
==
pthread_mutex_destroy
(
fast_mutex
)
);
#endif
}
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