Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jaak Ristioja
OpenLDAP
Commits
821f0e17
Commit
821f0e17
authored
24 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Fix get/set conconcurrency routines under Solaris
parent
4f4f59f3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/libldap_r/thr_posix.c
+4
-4
4 additions, 4 deletions
libraries/libldap_r/thr_posix.c
with
4 additions
and
4 deletions
libraries/libldap_r/thr_posix.c
+
4
−
4
View file @
821f0e17
...
...
@@ -48,28 +48,28 @@ ldap_int_thread_destroy( void )
return
0
;
}
#ifdef
HAVE_P
THREAD_SETCONCURRENCY
#ifdef
LDAP_
THREAD_
HAVE_
SETCONCURRENCY
int
ldap_pvt_thread_set_concurrency
(
int
n
)
{
#ifdef HAVE_PTHREAD_SETCONCURRENCY
return
pthread_setconcurrency
(
n
);
#elif HAVE_THR_SETCONCURRENCY
return
p
thr
ead
_setconcurrency
(
n
);
return
thr_setconcurrency
(
n
);
#else
return
0
;
#endif
}
#endif
#ifdef
HAVE_P
THREAD_GETCONCURRENCY
#ifdef
LDAP_
THREAD_
HAVE_
GETCONCURRENCY
int
ldap_pvt_thread_get_concurrency
(
void
)
{
#ifdef HAVE_PTHREAD_GETCONCURRENCY
return
pthread_getconcurrency
();
#elif HAVE_THR_GETCONCURRENCY
return
p
thr
ead
_getconcurrency
();
return
thr_getconcurrency
();
#else
return
0
;
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment