Antwort: Re: Antwort: Re: SIGTRAP when sending signal on closing dbus connection



> 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]