possible threading issue in photon client

1 message Options
Embed this post
Permalink
stinger

possible threading issue in photon client

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I've run into an issue with the photon client that seems to be thread related and wanted to pass it by the mailing list to see if anybody is having a similar problem.  I'm using 1.0.0 of the client & ors.  I start up the photon client, and then using the orderloader command line tool, I load anywhere between 1400 - 2800 orders into the system.  These load up fine and show up in the photon client.  As a test, I then hit the "cancel all open orders" button.  When I do this, the UI freezes - I assume this is because the process that is running the cancel is running on the SWT display thread?  When the cancel is finally completed, the UI refreshes and then immediately freezes again - it then never refreshes and has to manually be killed.  I believe it is freezing in org.eclipse.ui.console.IOConsoleOutputStream.streamAppeneded method (after looking at the stack trace).  While I believe that this is a problem with the eclipse framework being used, I also think that running the cancel process on another thread may solve the problem?  Anyway, just wondering if anybody else has run into this problem?  Any possible workarounds?

I sent another message to the list with the actual stack trace but it is awaiting moderator approval due to size - thus I'm sending this message in the interim.

_______________________________________________
m-etc-dev mailing list
[hidden email]
http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org