diff options
author | David Leonard <d@cvs.openbsd.org> | 1998-12-21 07:41:32 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1998-12-21 07:41:32 +0000 |
commit | 3bd93c4b0488a562ddd434f4679e19331948ec3a (patch) | |
tree | b3b455b03de2fedb99cf073dc36652e25d81d9a4 /lib/libc_r/uthread/uthread_create.c | |
parent | 447e300b19ab34eecb05ea8f02915e0de86ad626 (diff) |
resource accounting
Diffstat (limited to 'lib/libc_r/uthread/uthread_create.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_create.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_create.c b/lib/libc_r/uthread/uthread_create.c index ce70db0b3d4..4ce34434f3e 100644 --- a/lib/libc_r/uthread/uthread_create.c +++ b/lib/libc_r/uthread/uthread_create.c @@ -88,6 +88,8 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr, new_thread->stack = stack; new_thread->start_routine = start_routine; new_thread->arg = arg; + timerclear(&new_thread->ru_utime); + timerclear(&new_thread->ru_stime); /* * Write a magic value to the thread structure |