F
Fredrik Jagenheim
------=_Part_3943_23978911.1127908886148
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi,
I'm still having trouble with the message_loop construct.
For my use, it's not acceptable that it takes 100% CPU fetching and
dispatching messages.
Even the simple test-application using IE found on
http://www.rubycentral.com/book/lib_windows.html uses 100% CPU doing
practically nothing...
I tried modifying the win32ole library to use GetMessage instead of
PeekMessage (causing it to wait until a message is available). This worked
for the simple IE application, but my application caused ruby to segfault.
Perhaps because I'm using threading?
I know I've asked this before, but once again I must ask if anyone has a
solution to this problem?
//F
------=_Part_3943_23978911.1127908886148--
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi,
I'm still having trouble with the message_loop construct.
For my use, it's not acceptable that it takes 100% CPU fetching and
dispatching messages.
Even the simple test-application using IE found on
http://www.rubycentral.com/book/lib_windows.html uses 100% CPU doing
practically nothing...
I tried modifying the win32ole library to use GetMessage instead of
PeekMessage (causing it to wait until a message is available). This worked
for the simple IE application, but my application caused ruby to segfault.
Perhaps because I'm using threading?
I know I've asked this before, but once again I must ask if anyone has a
solution to this problem?
//F
------=_Part_3943_23978911.1127908886148--