Branch: Tag:

2009-04-20

2009-04-20 17:32:12 by Jonas Wallden <jonasw@roxen.com>

Improve performance of get_cpu_time() on OS X by avoiding a kernel trap to
get the ID of the underlying system thread.

Rev: src/configure.in:1.1078
Rev: src/rusage.c:1.53

1: - AC_REVISION("$Id: configure.in,v 1.1077 2009/03/18 11:45:53 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.1078 2009/04/20 17:32:12 jonasw Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2414:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1077 2009/03/18 11:45:53 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1078 2009/04/20 17:32:12 jonasw Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2452:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1077 2009/03/18 11:45:53 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1078 2009/04/20 17:32:12 jonasw Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2461:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1077 2009/03/18 11:45:53 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1078 2009/04/20 17:32:12 jonasw Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
3788:    PIKE_AC_DEBUG       AC_CHECK_FUNCS(pthread_init pthread_mutexattr_init pthread_kill \ -  pthread_cond_reltimedwait_np) +  pthread_cond_reltimedwait_np pthread_mach_thread_np)       AC_MSG_CHECKING(posix threads)