Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Opera Dragonfly Discussions

Discuss Opera Dragonfly, Opera's new developer tools.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By fearphage anchor Monday, 11. May 2009, 10:32:01

avatar

Thread log???

What is the purpose of it? Could someone please illustrate (blog/video) the usage of it and how I/we could benefit from it.

Thanks in advance,

fearphage

PS. I've seen the blurb about it in the dragonfly intro.

By fearphage anchor Friday, 23. October 2009, 10:51:42

avatarbump

By aleto anchor Monday, 26. October 2009, 18:52:51

avatarOpera's ecmascript engine implements threading for js. E.g. each event starts a new thread and any event listener for the given event type will be executed before any other code can run. Threads in the same runtime can never run in parallel, but they can in different ones, e.g. in a iframe or a pop-up window as long as they don't access the same data (this is in conflict with html5).

I don't think you can do much with thread logs at the moment. I needed it to handle all ecmascript stop events properly and i thought it could perhaps be useful in one or an other case, without having a clear use-case. At some point we will perhaps need an interface to control in which runtime one likes to step through code (at the moment the runtime is selected automatically), e.g. with complex situations with different runtimes and message passing between them. Then thread logs will perhaps make more sense.

Moderators: pepelsbey | dstorey | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom