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
7155d2a1
Commit
7155d2a1
authored
Aug 31, 2000
by
monty@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability changes
parent
91033f87
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
Docs/manual.texi
Docs/manual.texi
+2
-0
include/my_pthread.h
include/my_pthread.h
+2
-2
mysys/thr_rwlock.c
mysys/thr_rwlock.c
+5
-0
No files found.
Docs/manual.texi
View file @
7155d2a1
...
...
@@ -28286,6 +28286,8 @@ aren't specified.
You should have a primary key in the table.
@item
You should have a timestamp in all tables you want to be able to update.
For maximum portability @code{TIMESTAMP(14)} or simple @code{TIMESTAMP}
is recommended instead of other @code{TIMESTAMP(X)} variations.
@item
Only use double float fields. Access fails when comparing with single floats.
@item
include/my_pthread.h
View file @
7155d2a1
...
...
@@ -279,7 +279,7 @@ extern int my_pthread_create_detached;
#endif
/* defined(PTHREAD_SCOPE_GLOBAL) && !defined(PTHREAD_SCOPE_SYSTEM) */
#if defined(_BSDI_VERSION) && _BSDI_VERSION < 199910
int
sigwait
(
const
sigset_t
*
set
,
int
*
sig
);
int
sigwait
(
sigset_t
*
set
,
int
*
sig
);
#endif
#if defined(HAVE_UNIXWARE7_POSIX)
...
...
@@ -309,7 +309,7 @@ extern int my_pthread_cond_init(pthread_cond_t *mp,
#endif
#if !defined(HAVE_SIGWAIT) && !defined(HAVE_mit_thread) && !defined(HAVE_rts_threads) && !defined(sigwait) && !defined(alpha_linux_port) && !defined(HAVE_NONPOSIX_SIGWAIT) && !defined(HAVE_DEC_3_2_THREADS) && !defined(_AIX)
int
sigwait
(
const
sigset_t
*
setp
,
int
*
sigp
);
/* Use our implemention */
int
sigwait
(
sigset_t
*
setp
,
int
*
sigp
);
/* Use our implemention */
#endif
#if !defined(HAVE_SIGSET) && !defined(HAVE_mit_thread) && !defined(sigset)
#define sigset(A,B) do { struct sigaction s; sigset_t set; \
...
...
mysys/thr_rwlock.c
View file @
7155d2a1
...
...
@@ -65,8 +65,13 @@ int my_rwlock_init( rw_lock_t *rwp, void *arg __attribute__((unused)))
pthread_mutex_init
(
&
rwp
->
lock
,
NULL
);
pthread_condattr_init
(
&
cond_attr
);
#ifdef HAVE_PTHREAD_CONDATTR_CREATE
/* HPUX 11.0 */
pthread_cond_init
(
&
rwp
->
readers
,
cond_attr
);
pthread_cond_init
(
&
rwp
->
writers
,
cond_attr
);
#else
pthread_cond_init
(
&
rwp
->
readers
,
&
cond_attr
);
pthread_cond_init
(
&
rwp
->
writers
,
&
cond_attr
);
#endif
pthread_condattr_destroy
(
&
cond_attr
);
rwp
->
state
=
0
;
...
...
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