Changeset: ea2b2e0a0150 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ea2b2e0a0150
Modified Files:
gdk/gdk_system.c
gdk/gdk_system_private.h
Branch: default
Log Message:
Remove function MT_global_exit and replace by plain exit.
diffs (38 lines):
diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c
--- a/gdk/gdk_system.c
+++ b/gdk/gdk_system.c
@@ -312,7 +312,7 @@ MT_exit_thread(int s)
ExitThread(s);
} else {
/* no threads started yet, so this is a global exit */
- MT_global_exit(s);
+ exit(s);
}
}
@@ -725,13 +725,6 @@ pthread_sema_down(pthread_sema_t *s)
#endif
#endif
-/* coverity[+kill] */
-void
-MT_global_exit(int s)
-{
- exit(s);
-}
-
MT_Id
MT_getpid(void)
{
diff --git a/gdk/gdk_system_private.h b/gdk/gdk_system_private.h
--- a/gdk/gdk_system_private.h
+++ b/gdk/gdk_system_private.h
@@ -16,8 +16,5 @@
__attribute__((__visibility__("hidden")));
__declspec(noreturn) void MT_exit_thread(int status)
__attribute__((__noreturn__));
-__hidden void MT_global_exit(int status)
- __attribute__((__noreturn__))
- __attribute__((__visibility__("hidden")));
__hidden int MT_kill_thread(MT_Id t)
__attribute__((__visibility__("hidden")));
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list