On Wed, Jan 22, 2014 at 8:49 AM, <[email protected]> wrote:
> (just butting into an interesting conversation) > > *Justin Wrote:* > *“Although if there is some concrete evidence that it is a known > issue,then you would be correct”* > > Ah!, but keep in mind that most known issues have known workarounds, a > frequent crash can easily be unknown and never fully examined, often > analysed from the wrong end even causing even more complications. As > in just because it’s not apparent in standard behaviour it does not make > either party right or wrong. > Just because there is no evidence to examine definitely does not equal > the person observing it being wrong in any way. > While I agree that people can find workarounds, I find it highly unlikely that instability with QThread + Signals would go unmentioned. I also didn't say "the person" was wrong either :-) I said that there has to be a reason for the crash. If it were random instability issues in the framework itself, I would have to believe it would be a tracked issue in Qt. My point is that if someone is going to make a statement like that, it should probably be followed with something like: "Consider the following example of what crashes..." or "Refer to these links for more information about this statement". But all in all I completely respect the opinions, findings, and experience being presented. > > If it helps, you can try to produce a crash using QTimer inside a > QThread, that one is on my dirty list of “how on earth does that crash so > often” without myself ever having been able to attribute the cause to > either a threading issue or anything known that went wrong for the person > who wrote it. > In my experience most of these cases turn out to be an OS problem rather > than anything related to the scripting part of the process so I have to > agree with both you guys on this one; It does crash a lot but indeed far > from it being a known issue so it presumably doesn’t belong as the blanket > statement it reads as. > QTimer isn't threaded. It uses the event loop of the current thread. However, I do recall coming across reports of instability related to creating many many short singleShot timers. But I haven't looked into it much since I also don't recall encountering that problem personally. I just in case i haven't said it recently....I love you all. > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/52ded548.270ac20a.122d.fffff19c%40mx.google.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0YJ%3DA%3DZj2Hmw%2B7%3DLk75D4TJdFY8uv5kcK-%3DF9BCtORcA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
