Antwort: Re: Antwort: Re: SIGTRAP when sending signal on closing dbus connection
- From: Jean-Pierre Bogler continental-corporation com
- To: simon mcvittie collabora co uk
- Cc: gnome-devel-list gnome org, gtk-devel-list <gtk-devel-list gnome org>
- Subject: Antwort: Re: Antwort: Re: SIGTRAP when sending signal on closing dbus connection
- Date: Tue, 16 Jun 2015 14:59:03 +0200
> How can you guarantee that the timing is always
going to be like this,
> i.e. that thread 1 always "wins the race"?
> ...
> If the answer is "I can't guarantee that",
then you still have a bug
> (a classic race condition), and still deserve
the crash :-)
Hehe, you are right! I was a bit confused
by my colleagues code at all ;). I already informed them
to sync the access to the connection.
=> I even think, there is nothing that glib could do at all, to
avoid this race.
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]