On Dec 7, 2005, at 11:28 PM, Frank Condello wrote:
On 7-Dec-05, at 4:51 PM, Marco Bambini wrote:
On Dec 7, 2005, at 10:22 PM, Frank Condello wrote:
My OpenGLView control can have its own async loop attached, so
it is complete independent from RB.
That could be useful... Can you provide more details on how this
works?
Every control has a "period" property (integer, milliseconds) and
a DrawScene event (nFrame As Integer, Interval As Double)
If you select the myOpenGLView.StartAsync method, then the
DrawScene event is called every "period" milliseconds and this
"custom loop" is complete independent from RB (the nFrame
parameter is automatically incremented at every call).
Sounds good - does this use preemptive threads under the hood or is
there another way to get this same effect?
I am using preemptive threads under the hood
I'm interested because this is very similar to an interface I had
planned out for a generic "PreemptiveTask" class, but I haven't had
time to research it further. I wonder if you'd be willing to
release a standalone/generic version of this?
Well, I am note sure about this point, but certainly something to
investigate...
---
Marco Bambini
http://www.sqlabs.net
http://www.sqlabs.net/blog/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|