From 171485daa08e97782c05b3ca7490e6e42b827197 Mon Sep 17 00:00:00 2001 From: Georg Holzmann Date: Sun, 20 Nov 2005 21:29:12 +0000 Subject: version 0.1 svn path=/trunk/externals/grh/; revision=3989 --- threadlib/src/threadlib.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'threadlib/src/threadlib.c') diff --git a/threadlib/src/threadlib.c b/threadlib/src/threadlib.c index da17100..6cdf1af 100755 --- a/threadlib/src/threadlib.c +++ b/threadlib/src/threadlib.c @@ -33,7 +33,7 @@ t_class *threadlib_class; static void threadlib_help(void) { - post("\nthreadlib vers."VERSION", library for threaded patching\n" + post("\nthreadlib vers."VERSION", library for threaded patching and externals\n" "2005, by Georg Holzmann \n" "heavily based on pd_devel code by Tim Blechmann\n" @@ -41,7 +41,6 @@ static void threadlib_help(void) "\tdetach run part of the patch in a helper thread\n" "\tjoin synchronize messages to pd's main thread\n" "\tsleep block system for specific time\n" - "\tthreadedsf threaded soundfiler from pd_devel_0.38\n" "WARNING: this is very experimental and can crash your patches !\n"); } @@ -55,24 +54,18 @@ void *threadlib_new(void) void sleep_setup(); void detach_setup(); void join_setup(); -void threadedsf_setup(); -void sys_start_sfthread(); -void threadlib_setup(void) +void threadlib_setup(void) { // call all the setup functions: sleep_setup(); detach_setup(); join_setup(); - threadedsf_setup(); // init callback system h_init_callbacks(); - - // start global soundfiler helper thread - sys_start_sfthread(); - post("\nthreadlib vers."VERSION", library for threaded patching\n" + post("\nthreadlib vers."VERSION", library for threaded patching and externals\n" "2005, by Georg Holzmann \n" "heavily based on pd_devel code by Tim Blechmann\n" "WARNING: this is very experimental and may crash your patches !\n"); @@ -80,4 +73,6 @@ void threadlib_setup(void) threadlib_class = class_new(gensym("threadlib"), threadlib_new, 0, sizeof(t_threadlib), 0, 0); class_addmethod(threadlib_class, (t_method)threadlib_help, gensym("help"), 0); + + return 0; } -- cgit v1.2.1