UniVerse supports the NAP [milliseconds] command.
On UniData it would be more efficient to use the PAUSE [time] / WAKE command
which gives you both an automated timeout as well as allowing you to continue
as soon as the PHANTOM declares it okay.
You can switch between both of these in your code
Universe on Windoze
In the LIST.READU output there is a column called Device
Is the device physically *a* disk? Or *a* server?
If a server has three disks, could there be three device numbers or one?
Could a single physical disk have multiple numbers ? Like sectors...
partitions... directory
Doug this works for me in UniData:
SLEEP.TIME = 500 ;* .5 Second
ERR = openSocket("loopback", 25, 1, SLEEP.TIME, hBUFF)
David A. Green
(480) 813-1725
DAG Consulting
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] O
On 12/27/2012 4:56 PM, Doug Farmer wrote:
> Happy holidays all,
>
> I just want to make sure I did not miss something over the U2 releases. Since
> the Microdata Reality days, I have used "SLEEP nn" to sleep for nn seconds.
> Simple, usually does the trick.
See if NAP is supported in your rele
I would be careful of believing NAP :)
The sleeping is, I believe, based entirely on the time slicing and clock
interrupting ability, and so dependent on that mechanism internally of the
underlying O/S.
I have found, on various implementations, that NAP doesn't actually support any
possible del
Thanks for this tip on NAP, The documentation does say it sleeps for
milliseconds. I tried it and it works.
RQM for UniData says it does the same as sleep.
Well 1/2 of the problem solved! Still looking or a UniData answer.
Doug Farmer
952-417-5225
-Original Message-
From: u2-users-b
If my memory serves correct, I believe on UniData it's RQM .
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Robinson
Sent: Friday, 28 December 2012 9:07 AM
To: U2 Users List
Subject: Re: [U2] Sleeping in Basic
Doug,
If Universe, look at NAP, it does milliseconds.
Can't remember what it is in Unidata, maybe SLEEPM?
Don
From: Doug Farmer
To: 'U2 Users List'
Sent: Thursday, December 27, 2012 4:56 PM
Subject: [U2] Sleeping in Basic
Happy holidays all,
I just want to make sure I did not miss so
What you really need is the ability to POKE.
So you execute the phantom and return it's handle to another process (PID)
The waiter stops at a regular INPUT.
The responder then could POKE something carriage return to the waiter's INPUT
That would be instant reaction, no wait, and no false starting.
Happy holidays all,
I just want to make sure I did not miss something over the U2 releases. Since
the Microdata Reality days, I have used "SLEEP nn" to sleep for nn seconds.
Simple, usually does the trick.
But in today's gotta have it now, I won't wait, environment, a second is
sometimes way t
10 matches
Mail list logo