Branch: Tag:

2016-02-07

2016-02-07 17:38:14 by Martin Nilsson <nilsson@fastmail.com>

Removed DLOC_PF.

464:       SET_LOCKING_THREAD;    USE_DLOC_ARGS(); -  THREADS_FPRINTF (1, "Got iplock" DLOC_PF(" @ ",) "\n", DLOC_ARGS_OPT); +  THREADS_FPRINTF (1, "Got iplock @ %s:%d\n", DLOC_ARGS_OPT);   }      PMOD_EXPORT void pike_low_wait_interpreter (COND_T *cond COMMA_DLOC_DECL)   {    USE_DLOC_ARGS(); -  THREADS_FPRINTF (1, -  "Waiting on cond %p without iplock" DLOC_PF(" @ ",) "\n", +  THREADS_FPRINTF (1, "Waiting on cond %p without iplock @ %s:%d\n",    cond, DLOC_ARGS_OPT);    UNSET_LOCKING_THREAD;   
481:    co_wait (cond, &interpreter_lock);       SET_LOCKING_THREAD; -  THREADS_FPRINTF (1, -  "Got signal on cond %p with iplock" DLOC_PF(" @ ",) "\n", +  THREADS_FPRINTF (1, "Got signal on cond %p with iplock @ %s:%d\n",    cond, DLOC_ARGS_OPT);   }   
492:   {    int res;    USE_DLOC_ARGS(); -  THREADS_FPRINTF (1, -  "Waiting on cond %p without iplock" DLOC_PF(" @ ",) "\n", +  THREADS_FPRINTF (1, "Waiting on cond %p without iplock @ %s:%d\n",    cond, DLOC_ARGS_OPT);    UNSET_LOCKING_THREAD;   
503:    res = co_wait_timeout (cond, &interpreter_lock, sec, nsec);       SET_LOCKING_THREAD; -  THREADS_FPRINTF (1, -  "Got signal on cond %p with iplock" DLOC_PF(" @ ",) "\n", +  THREADS_FPRINTF (1, "Got signal on cond %p with iplock @ %s:%d\n",    cond, DLOC_ARGS_OPT);    return res;   }
514:    assert (threads_disabled);    USE_DLOC_ARGS();    do { -  THREADS_FPRINTF (1, -  "Waiting on threads_disabled" DLOC_PF(" @ ",) "\n", +  THREADS_FPRINTF (1, "Waiting on threads_disabled @ %s:%d\n",    DLOC_ARGS_OPT);    UNSET_LOCKING_THREAD;    co_wait (&threads_disabled_change, &interpreter_lock);    SET_LOCKING_THREAD;    } while (threads_disabled); -  THREADS_FPRINTF (1, -  "Continue after threads_disabled" DLOC_PF(" @ ",) "\n", +  THREADS_FPRINTF (1, "Continue after threads_disabled @ %s:%d\n",    DLOC_ARGS_OPT);   }   
535:   PMOD_EXPORT void pike_unlock_interpreter (DLOC_DECL)   {    USE_DLOC_ARGS(); -  THREADS_FPRINTF (1, "Releasing iplock" DLOC_PF(" @ ",) "\n", -  DLOC_ARGS_OPT); +  THREADS_FPRINTF (1, "Releasing iplock @ %s:%d\n", DLOC_ARGS_OPT);    UNSET_LOCKING_THREAD;    mt_unlock (&interpreter_lock);   }
595:    COMMA_DLOC_DECL)   {    USE_DLOC_ARGS(); -  THREADS_FPRINTF (2, "Swap out %sthread %p" DLOC_PF(" @ ",) "\n", +  THREADS_FPRINTF (2, "Swap out %sthread %p @ %s:%d\n",    ts == Pike_interpreter.thread_state ? "current " : "",    ts, DLOC_ARGS_OPT);   
619:   PMOD_EXPORT void pike_swap_in_thread (struct thread_state *ts    COMMA_DLOC_DECL)   { -  THREADS_FPRINTF (2, "Swap in thread %p" DLOC_PF(" @ ",) "\n", -  ts, DLOC_ARGS_OPT); +  THREADS_FPRINTF (2, "Swap in thread %p @ %s:%d\n", ts, DLOC_ARGS_OPT);      #ifdef PIKE_DEBUG    if (Pike_interpreter_pointer)
914:    if (threads_disabled) return;       USE_DLOC_ARGS(); -  THREADS_FPRINTF(0, "Unlocking IMutex %p" DLOC_PF(" @ ",) "\n", +  THREADS_FPRINTF(0, "Unlocking IMutex %p @ %s:%d\n",    im, DLOC_ARGS_OPT);    mt_unlock(&(im->lock));   }