Antwort: Re: Antwort: Re: SIGTRAP when sending signal on closing dbus connection
[email protected] Tue, 16 Jun 2015 14:59:03 +0200
| Newsgroups | gmane.comp.gnome.devel,gmane.comp.gnome.gtk+.devel.general |
|---|---|
| Message-ID | <OF2BC76CFF.915E68E7-ONC1257E66.00462D12-C1257E66.0047538F@continental-corporation.com> |
Dies ist eine mehrteilige Nachricht im MIME-Format. --===============3656578801509322272== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3656578801509322272== Content-Type: multipart/alternative; boundary="=_alternative 0047538FC1257E66_=" Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 0047538FC1257E66_= Content-Type: text/plain; charset="US-ASCII" > 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. --=_alternative 0047538FC1257E66_= Content-Type: text/html; charset="US-ASCII" <tt><font size=2>> How can you guarantee that the timing is always going to be like this,<br> > i.e. that thread 1 always "wins the race"?</font></tt> <br><font size=2 face="sans-serif">> ...</font> <br><tt><font size=2>> If the answer is "I can't guarantee that", then you still have a bug </font></tt> <br><tt><font size=2>> (a classic race condition), and still deserve the crash :-)</font></tt> <br> <br><font size=2 face="sans-serif">Hehe, you are right! I was a bit confused by my colleagues code at all ;). I already informed them </font> <br><font size=2 face="sans-serif">to sync the access to the connection. => I even think, there is nothing that glib could do at all, to </font> <br><font size=2 face="sans-serif">avoid this race.</font> <br> --=_alternative 0047538FC1257E66_=-- --===============3656578801509322272== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnome-devel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-devel-list --===============3656578801509322272==--