mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
G_BREAKPOINT is x86-only
Original commit message from CVS: G_BREAKPOINT is x86-only
This commit is contained in:
parent
b7d0645e36
commit
8a39e98f8b
1 changed files with 3 additions and 1 deletions
|
@ -242,7 +242,9 @@ static inline void sched_switch (cothread *to)
|
||||||
if (from == to) {
|
if (from == to) {
|
||||||
GST_DEBUG (GST_CAT_COTHREAD_SWITCH, "trying to switch to the same cothread (%p), not allowed\n",
|
GST_DEBUG (GST_CAT_COTHREAD_SWITCH, "trying to switch to the same cothread (%p), not allowed\n",
|
||||||
to);
|
to);
|
||||||
G_BREAKPOINT();
|
/* wingo says G_BREAKPOINT only works for x86, so change it */
|
||||||
|
/* G_BREAKPOINT(); */
|
||||||
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
GST_INFO (GST_CAT_COTHREAD_SWITCH, "switching from cothread %p to cothread %p",
|
GST_INFO (GST_CAT_COTHREAD_SWITCH, "switching from cothread %p to cothread %p",
|
||||||
from, to);
|
from, to);
|
||||||
|
|
Loading…
Reference in a new issue