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 #29041 is a reply to message #29031] Tue, 29 January 2002 09:20 Go to previous messageGo to previous message
Ken Mankoff is currently offline  Ken Mankoff
Messages: 158
Registered: February 2000
Senior Member
On Tue, 29 Jan 2002, Nigel Wade wrote:
> 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.
>>
> 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.
>

This would work too... a brief expriment tells me that I do not know
how to capture a pid through IDL. Do you have any ideas (or code? :)

Thanks,
Ken Mankoff

--
Kenneth Mankoff
LASP://303.492.3264
http://lasp.colorado.edu/~mankoff/
http://lasp.colorado.edu/snoedata/
http://lasp.colorado.edu/marsrobot/
[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 23:23:43 PDT 2025

Total time taken to generate the page: 0.55719 seconds