|
▼ functions
-AddNewProcess(pid_t pid, NuwaProtoFdInfo *aInfoList, int aInfoSize)
-AfterForkHook()
-CloseAllProtoSockets(NuwaProtoFdInfo *aInfoList, int aInfoSize)
-DupeSingleFd(int newFd, int origFd)
-EnsureThreadExited(thread_info_t *tinfo)
-ForkIPCProcess()
-GetCurThreadInfo()
-GetThreadInfo(pthread_t threadID)
-GetThreadInfoInner(pthread_t threadID)
IsNuwaProcess()
IsNuwaReady()
MakeNuwaProcess()
-MaybeCleanUpDetachedThread(thread_info_t *tinfo)
NuwaAddConstructor(void (*construct)(void *), void *arg)
NuwaAddFinalConstructor(void (*construct)(void *), void *arg)
NuwaAddThreadConstructor(void (*aConstruct)(void *), void *aArg)
NuwaAssertNotFrozen(unsigned int aThread, const char* aThreadName)
NuwaCheckpointCurrentThread1()
NuwaCheckpointCurrentThread2(int setjmpCond)
NuwaFreezeCurrentThread()
NuwaMarkCurrentThread(void (*recreate)(void *), void *arg)
NuwaSkipCurrentThread()
NuwaSpawn()
NuwaSpawnPrepare()
NuwaSpawnWait()
PrepareNuwaProcess()
-PrepareProtoSockets(NuwaProtoFdInfo *aInfoList, int aInfoSize)
-RecreateEpollFds()
-RecreateThreads()
-ReplaceIPC(NuwaProtoFdInfo *aInfoList, int aInfoSize)
ReplaceSignalFds()
-RestoreTLSInfo(thread_info_t *tinfo)
-RunCustomRecreation()
-SaveTLSInfo(thread_info_t *tinfo)
__wrap_close(int aFd)
__wrap_epoll_create(int size)
__wrap_epoll_ctl(int aEpollFd, int aOp, int aFd, struct epoll_event *aEvent)
__wrap_epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
__wrap_pipe(int __pipedes[2])
__wrap_pipe2(int __pipedes[2], int flags)
__wrap_poll(struct pollfd *fds, nfds_t nfds, int timeout)
__wrap_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mtx, const struct timespec *abstime)
__wrap_pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mtx)
__wrap_pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg)
__wrap_pthread_join(pthread_t thread, void **retval)
__wrap_pthread_key_create(pthread_key_t *key, void (*destructor)(void*))
__wrap_pthread_key_delete(pthread_key_t key)
__wrap_pthread_mutex_lock(pthread_mutex_t *mtx)
__wrap_pthread_mutex_trylock(pthread_mutex_t *mtx)
__wrap_pthread_self()
__wrap_socketpair(int domain, int type, int protocol, int sv[2])
线程创建等
-_thread_create_startup(void *arg)
-getPageSize(void)
-invalidate_thread_info(void *arg)
-safe_thread_info_cleanup(void *arg)
-thread_attr_init(thread_info_t *tinfo, const pthread_attr_t *tattr)
-thread_create_startup(void *arg)
-thread_info_cleanup(void *arg)
-thread_info_new(void)
-thread_recreate(thread_info_t *tinfo)
-thread_recreate_startup(void *arg)
|