Revert "am be741d47
: am 2f460fbe
: am 73b5cad9
: Merge "bionic: Fix wrong kernel_id in pthread descriptor after fork()""
This reverts commit76d56cf4a9
, reversing changes made toc59ba4595b
. Bug: 6157577
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
*/
|
||||
#include <unistd.h>
|
||||
#include "pthread_internal.h"
|
||||
#include "bionic_pthread.h"
|
||||
#include "cpuacct.h"
|
||||
|
||||
extern int __fork(void);
|
||||
@@ -49,9 +48,6 @@ int fork(void)
|
||||
__timer_table_start_stop(0);
|
||||
__bionic_atfork_run_parent();
|
||||
} else {
|
||||
/* Adjusting the kernel id after a fork */
|
||||
(void)__pthread_settid(pthread_self(), gettid());
|
||||
|
||||
/*
|
||||
* Newly created process must update cpu accounting.
|
||||
* Call cpuacct_add passing in our uid, which will take
|
||||
|
Reference in New Issue
Block a user