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 #29042 is a reply to message #29041] Tue, 29 January 2002 08:42 Go to previous messageGo to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Ken Mankoff wrote:

> 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.
>
> Ken Mankoff
>

If you're going to spawn a process, why not base the directory name on the
PID of the spawned process, and return the directory name to IDL? Two
concurrent processes cannot have the same PID.

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[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: Sat Oct 11 22:25:41 PDT 2025

Total time taken to generate the page: 1.11973 seconds