summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd')
-rw-r--r--libs/pbd/pbd/pbd.h30
-rw-r--r--libs/pbd/pbd/pthread_utils.h1
2 files changed, 30 insertions, 1 deletions
diff --git a/libs/pbd/pbd/pbd.h b/libs/pbd/pbd/pbd.h
new file mode 100644
index 0000000000..5b3745f0ed
--- /dev/null
+++ b/libs/pbd/pbd/pbd.h
@@ -0,0 +1,30 @@
+/*
+ Copyright (C) 2011 Paul Davis
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#ifndef __libpbd_pbd_h__
+#define __libpbd_pbd_h__
+
+namespace PBD {
+
+ bool init ();
+ void cleanup ();
+
+} // namespace PBD
+
+#endif
diff --git a/libs/pbd/pbd/pthread_utils.h b/libs/pbd/pbd/pthread_utils.h
index 3d89d5581e..f578339410 100644
--- a/libs/pbd/pbd/pthread_utils.h
+++ b/libs/pbd/pbd/pthread_utils.h
@@ -35,7 +35,6 @@ int pthread_create_and_store (std::string name, pthread_t *thread, void * (*st
void pthread_cancel_one (pthread_t thread);
void pthread_cancel_all ();
void pthread_kill_all (int signum);
-void pthread_exit_pbd (void* status);
const char* pthread_name ();
void pthread_set_name (const char* name);