Skip to content

Commit

Permalink
rt: dummy function pthread_atfork for android
Browse files Browse the repository at this point in the history
  • Loading branch information
yichoi committed Jun 11, 2013
1 parent 37733c7 commit febba9f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/rt/rust_android_dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,11 @@ extern "C" void globfree(glob_t *pglob)
{
}

extern "C" int pthread_atfork(void (*prefork)(void),
void (*postfork_parent)(void),
void (*postfork_child)(void))
{
return 0;
}

#endif

5 comments on commit febba9f

@bors
Copy link
Contributor

@bors bors commented on febba9f Jun 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on febba9f Jun 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging yichoi/rust/after_jemalloc = febba9f into auto

@bors
Copy link
Contributor

@bors bors commented on febba9f Jun 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yichoi/rust/after_jemalloc = febba9f merged ok, testing candidate = 6bdd4c8

@bors
Copy link
Contributor

@bors bors commented on febba9f Jun 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on febba9f Jun 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 6bdd4c8

Please sign in to comment.