Ask a Question related to Ruby, Design and Development.
-
Iki #1
VRuby and Timeout
Hi
I am getting an execution timeout in a timeout block executed in a
vruby
handler. It seems that some weird things are happenning with threads
and vruby.
I think the primary thread goes into messageLoop mode (again) once
awaken after the secondary (timeout) thread is created and is running.
Has anybody encoutered anything similar?
Thanks
Sample Script
---------------
require 'vr/vruby'
require 'vr/vrcontrol'
require 'timeout'
class VRMyForm <VRForm
def construct
move 100,150,150,100
addControl(VRButton,'execute'," Execute ",40,30,80,30)
end
def execute_clicked
timeout(5) {
'do nothing'
}
end
end
VRLocalScreen.showForm(VRMyForm)
VRLocalScreen.messageloop
Iki Guest
-
#40750 [NEW]: fsockopen timeout parameter overwrites timeout for reading
From: andreas dot rieber at 2e-systems dot com Operating system: OpenSuse PHP version: 5.2.1 PHP Bug Type: Network related... -
WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired)
Hi! I have a webservice serving the latest orders from a webshop. The customer uses a forms app client to fetch these orders and push them into... -
Using Vruby instead of VB ?
Inspired by Steve's presentation at RubyConf-2003, ( thanks to zenspider, see: Steve Tuckner: Ruby World: (Not) Implemented www.zenspider.com... -
VRuby/Win32 Question
This is a multi-part message in MIME format. ------=_NextPart_000_0126_01C3834F.594401B0 Content-Type: text/plain; charset="iso-8859-1"... -
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Gary Why not just change the connection timeout property? Your doing an update statement, which could take various amounts of time depending on...



Reply With Quote

