diff options
Diffstat (limited to 'libs/pbd3/pthread_utils.cc')
-rw-r--r-- | libs/pbd3/pthread_utils.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/pbd3/pthread_utils.cc b/libs/pbd3/pthread_utils.cc index 88e9aef195..323542cdf7 100644 --- a/libs/pbd3/pthread_utils.cc +++ b/libs/pbd3/pthread_utils.cc @@ -25,7 +25,7 @@ #include <pbd/pthread_utils.h> -using std::string; +using namespace std; typedef std::map<string,pthread_t> ThreadMap; static ThreadMap all_threads; @@ -43,6 +43,8 @@ pthread_create_and_store (string name, pthread_t *thread, pthread_attr_t *attr, { int ret; + cerr << "Creating thread " << name << endl; + if ((ret = pthread_create (thread, attr, start_routine, arg)) == 0) { std::pair<string,pthread_t> newpair; newpair.first = name; |