From: Sebastian B. <sb...@us...> - 2013-12-13 18:52:07
|
Update of /cvsroot/simplemail/simplemail/gtk In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12201 Modified Files: subthreads.c Log Message: Print error message for unsupported functions. Index: subthreads.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/gtk/subthreads.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- subthreads.c 7 Dec 2013 20:19:07 -0000 1.10 +++ subthreads.c 13 Dec 2013 18:52:05 -0000 1.11 @@ -118,6 +118,8 @@ **************************************************************************/ thread_t thread_add(char *thread_name, int (*entry)(void *), void *eudata) { + fprintf(stderr, "%s not implemented yet!\n", __PRETTY_FUNCTION__); + exit(1); return NULL; } @@ -141,12 +143,15 @@ void thread_abort(thread_t thread) { + fprintf(stderr, "%s not implemented yet!\n", __PRETTY_FUNCTION__); + exit(1); } /* Call the function synchron, calls timer_callback on the calling process context */ int thread_call_parent_function_sync_timer_callback(void (*timer_callback)(void*), void *timer_data, int millis, void *function, int argcount, ...) { - return 0; + fprintf(stderr, "%s not implemented yet!\n", __PRETTY_FUNCTION__); + exit(1); } /************************************************************************** |