[telepathy-stream-engine/master] Remove sigbus handling for pre-fremantle audio DSP
Olivier Crête
olivier.crete at collabora.co.uk
Thu Dec 3 00:01:42 PST 2009
---
src/stream-engine-main.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/src/stream-engine-main.c b/src/stream-engine-main.c
index f9404f0..b5b78a3 100644
--- a/src/stream-engine-main.c
+++ b/src/stream-engine-main.c
@@ -185,24 +185,6 @@ got_sigusr1 (int i G_GNUC_UNUSED)
g_idle_add (dump_dot_file, NULL);
}
-static void
-got_sigbus (int i G_GNUC_UNUSED)
-{
- const char *msg = "stream engine: DSP crashed\n";
-
- write (STDERR_FILENO, msg, strlen (msg));
-
-#if 0
- if (!forced_exit_in_progress)
- {
- forced_exit_in_progress =TRUE;
- g_idle_add ((GSourceFunc) dsp_crashed, NULL);
- }
-#endif
-
- _exit (1);
-}
-
/* every time the watchdog barks, schedule a bite */
static gboolean
watchdog_bark (gpointer data G_GNUC_UNUSED)
@@ -271,7 +253,6 @@ int main(int argc, char **argv)
if (g_getenv ("STREAM_ENGINE_TIMING") != NULL)
g_log_set_default_handler (tp_debug_timestamped_log_handler, NULL);
- signal (SIGBUS, got_sigbus);
signal (SIGUSR1, got_sigusr1);
--
1.5.6.5
More information about the telepathy-commits
mailing list