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
3b7d3391
Commit
3b7d3391
authored
Apr 30, 2003
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
parents
66997c0f
f69b6e04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
include/my_semaphore.h
include/my_semaphore.h
+5
-0
mysys/my_semaphore.c
mysys/my_semaphore.c
+2
-2
No files found.
include/my_semaphore.h
View file @
3b7d3391
...
...
@@ -31,6 +31,8 @@
#ifndef _my_semaphore_h_
#define _my_semaphore_h_
#ifdef THREAD
C_MODE_START
#ifdef HAVE_SEMAPHORE_H
#include <semaphore.h>
...
...
@@ -56,4 +58,7 @@ int sem_getvalue(sem_t * sem, unsigned int * sval);
#endif
/* !__bsdi__ */
C_MODE_END
#endif
/* THREAD */
#endif
/* !_my_semaphore_h_ */
mysys/my_semaphore.c
View file @
3b7d3391
...
...
@@ -23,7 +23,7 @@
#include <my_semaphore.h>
#include <errno.h>
#if !defined(__WIN__) && !defined(HAVE_SEMAPHORE_H)
#if !defined(__WIN__) && !defined(HAVE_SEMAPHORE_H)
&& defined(THREAD)
int
sem_init
(
sem_t
*
sem
,
int
pshared
,
uint
value
)
{
...
...
@@ -101,4 +101,4 @@ int sem_getvalue(sem_t * sem, uint *sval)
return
0
;
}
#endif
/* !defined(__WIN__) && !defined(HAVE_SEMAPHORE_H) */
#endif
/* !defined(__WIN__) && !defined(HAVE_SEMAPHORE_H)
&& defined(THREAD)
*/
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