Does now call _thread_on_exit_notification().

Note, this probably should be called in exit() not here (for now, I copied
the BeOS behaviour).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3074 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-04-18 09:34:49 +00:00
parent a02a5888af
commit 8b5c1ef5f6

View File

@ -11,6 +11,7 @@
extern int main(int argc, char **argv);
extern void _thread_do_exit_notification(void);
int _start(int argc, char **argv, char **, struct uspace_program_args *);
@ -33,6 +34,9 @@ _start(int argc, char **argv, char **_environ, struct uspace_program_args *args)
retcode = main(args->argc, args->argv);
_thread_do_exit_notification();
// ToDo: must also (only) be called in exit()!
exit(retcode);
return 0;
}