Branch: Tag:

2003-11-26

2003-11-26 10:51:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

OSF/1 (aka Digital Unix (aka Tru64 Unix)) has <mach/task_info.h>, but no TASK_THREAD_TIMES_INFO.

Rev: src/threads.c:1.229

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: threads.c,v 1.228 2003/11/25 17:58:24 jonasw Exp $ + || $Id: threads.c,v 1.229 2003/11/26 10:51:10 grubba Exp $   */      #ifndef CONFIGURE_TEST   #include "global.h" - RCSID("$Id: threads.c,v 1.228 2003/11/25 17:58:24 jonasw Exp $"); + RCSID("$Id: threads.c,v 1.229 2003/11/26 10:51:10 grubba Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
733: Inside #if undefined(HAVE_NO_YIELD) and #if defined(HAVE_GETHRTIME)
   return;    last_ = now;    } - #elif HAVE_MACH_TASK_INFO_H + #elif defined(HAVE_MACH_TASK_INFO_H) && defined(TASK_THREAD_TIMES_INFO)    {    static struct timeval last_check = { 0, 0 };    task_thread_times_info_data_t info;