diff options
author | lenz@mysql.com <> | 2002-07-15 18:26:11 +0200 |
---|---|---|
committer | lenz@mysql.com <> | 2002-07-15 18:26:11 +0200 |
commit | 3258f23d9925fe2f4405e5ffbcb3527e2ec07b21 (patch) | |
tree | 7bbc1431086d8f60702c6d6e2ad89eec7fe88075 /mysys/my_os2thread.c | |
parent | c620486287474966db38e44f8be891622e9af495 (diff) | |
download | mariadb-git-3258f23d9925fe2f4405e5ffbcb3527e2ec07b21.tar.gz |
- Updated OS/2 port with files provided by Yuri Dario <mc6530@mclink.it>
from TeamOS/2 Italy
- removed some obsolete files on Yuri's request
- Added missing os2 related files outside the os2 subdirectory
to the distribution
Diffstat (limited to 'mysys/my_os2thread.c')
-rw-r--r-- | mysys/my_os2thread.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mysys/my_os2thread.c b/mysys/my_os2thread.c index 017ba7f316b..89a3311c10b 100644 --- a/mysys/my_os2thread.c +++ b/mysys/my_os2thread.c @@ -53,6 +53,7 @@ void win_pthread_init(void) static pthread_handler_decl(pthread_start,param) { + DBUG_ENTER("pthread_start"); pthread_handler func=((struct pthread_map *) param)->func; void *func_param=((struct pthread_map *) param)->param; my_thread_init(); /* Will always succeed in windows */ @@ -60,8 +61,10 @@ static pthread_handler_decl(pthread_start,param) win_pthread_self=((struct pthread_map *) param)->pthreadself; pthread_mutex_unlock(&THR_LOCK_thread); free((char*) param); /* Free param from create */ - pthread_exit((void*) (*func)(func_param)); - return 0; /* Safety */ + //pthread_exit((void*) (*func)(func_param)); + (*func)(func_param); + DBUG_RETURN(0); + //return 0; /* Safety */ } |