home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!europa.asd.contel.com!king
- From: king@ssvax.gte.com (Larry King)
- Subject: Ada tasking rules and AST's...
- Message-ID: <1992Jul22.194130.10544@europa.asd.contel.com>
- Sender: news@europa.asd.contel.com (News)
- Nntp-Posting-Host: 100.14.40.6
- Organization: GTE/SCSD
- X-Newsreader: Tin 1.1 PL4
- Date: Wed, 22 Jul 1992 19:41:30 GMT
- Lines: 27
-
- Hello again everyone,
-
- First I would like to thank all those that replied to my last
- posting on Unix system calls in Ada. The powers to be did not deem it
- necessary to provide me with the Sun Ada Programmers Guide. Now that I
- have it and the replies from various people the Unix problem is behind
- me... Now I have the following...
-
- We are issueing VMS system calls from Ada. These system calls
- have associated AST's which I have defined and have gotten to work
- correctly. My question is how can I get Ada to do a rescheduling of the
- tasks to get this new entry to run. There is one process that takes
- some amount of time but if the system call has finished we would like
- the AST entry to run before this task normally finishes. Currently we
- issue a delay statement for the time
- DURATION'SMALL but this causes us to lose 10 milliseconds of time just
- to do the delay. It does cause VAX Ada to run the AST entry but we would like
- to avoid losing the 10 milliseconds if possible. Does VAX Ada (or any
- Ada for that matter) allow you to force an execution of the next entry on
- the queue before the current task has completely finished? I know the
- question is vague but I hope I am giving enough for someone to give me a
- reply. Thanks in advance...
-
- --
- Larry King
- GTE Government Systems, Needham, MA (617) 455-3384
- E-Mail : king%ssvax.dnet@get.com
-