Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
fb493f5f
Commit
fb493f5f
authored
Nov 13, 2003
by
Howard Chu
Browse files
ITS#2820 fix pthread_create for Draft 4
parent
2d7481d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap_r/thr_posix.c
View file @
fb493f5f
...
...
@@ -121,7 +121,12 @@ ldap_pvt_thread_create( ldap_pvt_thread_t * thread,
pthread_attr_setdetachstate
(
&
attr
,
detach
);
#endif
#endif
#if HAVE_PTHREADS < 5
rtn
=
pthread_create
(
thread
,
attr
,
start_routine
,
arg
);
#else
rtn
=
pthread_create
(
thread
,
&
attr
,
start_routine
,
arg
);
#endif
#if HAVE_PTHREADS > 5
pthread_attr_destroy
(
&
attr
);
#else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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