thr_create.c (5ccf23715a383c6f2412b94d50a21f48acf72841) | thr_create.c (7d9d7ca2ed3e3d630e63482c41f2d26194129c2c) |
---|---|
1/* 2 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 48 unchanged lines hidden (view full) --- 57int _thread_PS_DEAD_value = PS_DEAD; 58 59__weak_reference(_pthread_create, pthread_create); 60 61int 62_pthread_create(pthread_t * thread, const pthread_attr_t * attr, 63 void *(*start_routine) (void *), void *arg) 64{ | 1/* 2 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 48 unchanged lines hidden (view full) --- 57int _thread_PS_DEAD_value = PS_DEAD; 58 59__weak_reference(_pthread_create, pthread_create); 60 61int 62_pthread_create(pthread_t * thread, const pthread_attr_t * attr, 63 void *(*start_routine) (void *), void *arg) 64{ |
65 struct itimerval itimer; | |
66 int f_gc = 0; 67 int ret = 0; 68 pthread_t gc_thread; 69 pthread_t new_thread; 70 pthread_attr_t pattr; 71 int flags; 72 void *stack; 73 --- 145 unchanged lines hidden --- | 65 int f_gc = 0; 66 int ret = 0; 67 pthread_t gc_thread; 68 pthread_t new_thread; 69 pthread_attr_t pattr; 70 int flags; 71 void *stack; 72 --- 145 unchanged lines hidden --- |