Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
7476df05
Unverified
Commit
7476df05
authored
4 years ago
by
Yuki Okushi
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1857 from fabiim/add-pthread-from-mach-thread
Add mac/ios pthread_from_mach_thread_np
parents
ab3c2291
8ced4c0a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/unix/bsd/apple/mod.rs
+3
-0
3 additions, 0 deletions
src/unix/bsd/apple/mod.rs
with
3 additions
and
0 deletions
src/unix/bsd/apple/mod.rs
+
3
−
0
View file @
7476df05
...
@@ -35,6 +35,8 @@ pub type shmatt_t = ::c_ushort;
...
@@ -35,6 +35,8 @@ pub type shmatt_t = ::c_ushort;
pub
type
sae_associd_t
=
u32
;
pub
type
sae_associd_t
=
u32
;
pub
type
sae_connid_t
=
u32
;
pub
type
sae_connid_t
=
u32
;
pub
type
mach_port_t
=
::
c_uint
;
deprecated_mach!
{
deprecated_mach!
{
pub
type
vm_prot_t
=
::
c_int
;
pub
type
vm_prot_t
=
::
c_int
;
pub
type
vm_size_t
=
::
uintptr_t
;
pub
type
vm_size_t
=
::
uintptr_t
;
...
@@ -3395,6 +3397,7 @@ extern "C" {
...
@@ -3395,6 +3397,7 @@ extern "C" {
name
:
*
mut
::
c_char
,
name
:
*
mut
::
c_char
,
len
:
::
size_t
,
len
:
::
size_t
,
)
->
::
c_int
;
)
->
::
c_int
;
pub
fn
pthread_from_mach_thread_np
(
port
:
::
mach_port_t
)
->
::
pthread_t
;
pub
fn
pthread_get_stackaddr_np
(
thread
:
::
pthread_t
)
->
*
mut
::
c_void
;
pub
fn
pthread_get_stackaddr_np
(
thread
:
::
pthread_t
)
->
*
mut
::
c_void
;
pub
fn
pthread_get_stacksize_np
(
thread
:
::
pthread_t
)
->
::
size_t
;
pub
fn
pthread_get_stacksize_np
(
thread
:
::
pthread_t
)
->
::
size_t
;
pub
fn
pthread_condattr_setpshared
(
pub
fn
pthread_condattr_setpshared
(
...
...
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