ui-thread Questions
1
Solved
JavaScript is single threaded - Silverlight is not, but interaction between JavaScript and Silverlight must be performed on the Silverlight UI thread.
However, what exactly is the relationship bet...
Barbette asked 7/7, 2011 at 9:53
2
My application pre-fetches a large number of video frames using asynchronous
HttpWebRequest requests. So, if there are 100 frames, the prefetcher will
request all 100 frames asynchronously, all at ...
Uphold asked 13/5, 2011 at 2:51
1
Is it possible for a background thread to enqueue a message to the main UI thread's handler and block until that message has been serviced?
The context for this is that I would like my remote ser...
Scrutineer asked 19/7, 2010 at 22:26
3
Solved
Basically, I am trying to run a seconds counter and a levels counter. For every 10 seconds I want to ++level.
But that's not implemented as yet, so far I am just trying to get the seconds to displa...
Hemorrhage asked 20/3, 2011 at 22:11
2
Solved
I have a ProgressBarWindow which has a progressbar and a cancel button on it which I use to report progress on file I/O. However, the UI Thread of the ProgressBarWindow and my main window both hang...
Valonia asked 2/8, 2010 at 11:0
5
Solved
I'm writing a J2ME application. One of the pieces is something that polls the contents of a directory periodically, and, if there are any new things, paints them on the screen. I've done this by ha...
Loganiaceous asked 15/11, 2008 at 14:9
4
Solved
I have a method that is asynchronously called when System.Net.Sockets.NetworkStream.BeginRead completes.
skDelegate = New AsyncCallback(AddressOf skDataReceived)
skStream.BeginRead(skBuffer, 0, ...
Kazukokb asked 15/11, 2009 at 5:24
3
Solved
I would like to create a new event-dispatch thread in Swing, and I'm having trouble finding any references online for how to do this. I have done this in .NET by creating a new thread and calling A...
Bisk asked 13/5, 2009 at 17:23
2
Solved
Here is the problem I have: I need to make sure an object is instantiated on the UI thread. If it is not, it should throw an exception. But how do I check inside a method whether it is running on t...
© 2022 - 2024 — McMap. All rights reserved.