home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / ada / 2175 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.7 KB  |  40 lines

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