- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, this may be a bit weird, but i want to stop execution of a procedure for a given period of time, w/o consuming cpu resources. For example, say I want to poll a file every 5 seconds, I want the procedure to stop for 5 seconds then resume. I have looked, and nothing in ISO Fortran is useful, so I assume that there must be an API call (I'm using CVF6.5a on Win2k). I've looked through the API docs, but I can't find quite what I'm looking for. Any ideas?
Matt.
Matt.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I'm understanding your question right, there's
Fortran:
SLEEP (use dfport)
SLEEPQQ (use dflib)
Win32 API:
Sleep (use kernel32)
SleepEx (use kernel32)
hth,
John
Fortran:
SLEEP (use dfport)
SLEEPQQ (use dflib)
Win32 API:
Sleep (use kernel32)
SleepEx (use kernel32)
hth,
John

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page