comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Subject : locks, semaphores, and such
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Subject : locks, semaphores, and such [message #29031 is a reply to message #29027] Tue, 29 January 2002 19:25 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Ken Mankoff <mankoff@I.HATE.SPAM.cs.colorado.edu> writes:
> On Tue, 29 Jan 2002, Martin Downing wrote:
>> "Ken Mankoff" <mankoff@I.HATE.SPAM.cs.colorado.edu> wrote in message
>>> [ snip ]
>>> Actually, you gave me a very good solution. I will append the users IP
>>> address to the directory. That way, I only have to worry about users
>>> from the same IP accessing the page in the same second. This is much
>>> less likely. Also, rather than use SYSTIME( 1 ) to get the seconds, I
>>> will use a millisecond timestamp.
>>
>> Systime(1) seems to have a resolution of roughly 10 milliseconds (at least
>> on my system). Whats the timestamp you are thinking of which gives
>> millisecond steps?
>
> I get 1 second resolution (I think) using the IDL systime(1) command.
> I had not yet found a way in IDL to get higher resolution timestamps,
> and am currently looking into getting them from a spawned command in
> unix.

I believe there was a "bug" in some versions of IDL 5.2 for Linux
which caused SYSTIME(1) to only return integer values. Do you have
that version? RSI was making a version called 5.2.1L available, or
something like that, which fixed the problem.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Object graphics under Linux: are they supposed to be that slow?
Next Topic: Arithmetic error

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 19:53:23 PDT 2025

Total time taken to generate the page: 1.52178 seconds