Branch: Tag:

2016-05-09

2016-05-09 16:28:36 by Martin Nilsson <nilsson@fastmail.com>

LONGEST is just INT64, so use that instead.

432:    }   }    - static unsigned LONGEST thread_swaps = 0; - static unsigned LONGEST check_threads_calls = 0; - static unsigned LONGEST check_threads_yields = 0; - static unsigned LONGEST check_threads_swaps = 0; + static unsigned INT64 thread_swaps = 0; + static unsigned INT64 check_threads_calls = 0; + static unsigned INT64 check_threads_yields = 0; + static unsigned INT64 check_threads_swaps = 0;   static void f__thread_swaps (INT32 UNUSED(args))    {push_ulongest (thread_swaps);}   static void f__check_threads_calls (INT32 UNUSED(args))
1618:       {   #ifdef PIKE_DEBUG -  unsigned LONGEST old_thread_swaps = thread_swaps; +  unsigned INT64 old_thread_swaps = thread_swaps;   #endif    pike_thread_yield();   #ifdef PIKE_DEBUG
2037:    */   static void f_set_thread_quanta(INT32 args)   { -  LONGEST ns = 0; +  INT64 ns = 0;      #ifndef LONG_CPU_TIME_T    /* Convert to ticks. */