[beast: 10/20] EBEAST: use this_thread_*() for name/getpid/gettid/online_cpus



commit 2a2aebf366b8470f5b34c117e0d02743cb10dff9
Author: Tim Janik <timj gnu org>
Date:   Sun Sep 17 14:37:32 2017 +0200

    EBEAST: use this_thread_*() for name/getpid/gettid/online_cpus
    
    Signed-off-by: Tim Janik <timj gnu org>

 ebeast/v8bse/nodemodule.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ebeast/v8bse/nodemodule.cc b/ebeast/v8bse/nodemodule.cc
index a560104..f45e31b 100644
--- a/ebeast/v8bse/nodemodule.cc
+++ b/ebeast/v8bse/nodemodule.cc
@@ -291,7 +291,7 @@ v8bse_register_module (v8::Local<v8::Object> exports)
 
   // debugging aids:
   if (0)
-    Bse::printerr ("gdb %s %u -ex 'catch catch' -ex 'catch throw'\n", Bse::string_split 
(program_invocation_name, " ", 1)[0], Bse::ThisThread::process_pid());
+    Bse::printerr ("gdb %s %u -ex 'catch catch' -ex 'catch throw'\n", Bse::string_split 
(program_invocation_name, " ", 1)[0], Bse::this_thread_getpid());
 
   // Ensure Bse has everything properly loaded
   bse_server.load_assets();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]