home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / ingres / 2166 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.9 KB  |  44 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!mail-to-news-gateway
  3. From: "Anthony J. Rzepela" <rzepela@hal.hahnemann.edu>
  4. Subject: Re: Help - ABF/4GL questions.
  5. Message-ID: <00966285.BBAC44C0.3043@hal.hahnemann.edu>
  6. Sender: root@nrao.edu (Operator)
  7. Organization: National Radio Astronomy Observatory
  8. Date: Tue, 5 Jan 1993 18:28:22 GMT
  9. Lines: 33
  10.  
  11. In response to a messy locking situation where the user
  12. GOLD@ILP.MIT.EDU (Mark D. Gold) wanted to avoid deadlock on 
  13. a shared resource (a temporary table), it was pointed out 
  14. by Mark Jaeger <cs_mj@gsbvax.uchicago.edu> that
  15.  
  16. 1> ABF has a neat lock detection and deletion feature.
  17.  
  18. 2> User-interrupts are not easily handled in the 4GL. 
  19.  
  20. In relation to the first matter, I have had the experience where
  21. an interrupted (^Y, ^C) session of ABF still exists as a lock, 
  22. as the locks from these "dead" sessions show up until explicitly 
  23. deleted by the new ABF user.  (I am at 6.3/03 on VMS 5.4-2). 
  24.  
  25. What would be really slick (and I don't know about feasibility)
  26. would be to include in the application a user-maintined lock system, in which 
  27. the application desiring a resource could check not only for one of these
  28. pseudo-locks, but also, if found, the status of the process that created it.
  29. (Is it still running, in a PFW, etc.?) 
  30.  
  31. In this manner, "abandoned" locks could be eliminated if and when they 
  32. prevent a new user from accessing some resource.
  33.  
  34. There are some  methods which would not necessarily require
  35. a hard-coded table name (and hence, avoids all worries about pseudo-locks),
  36. but the original problem description was not specific enough on the 
  37. descriptions of the C procedures called in the 4GL procedure's loops, 
  38. so a definitive answer is still not at hand. 
  39.  
  40. ----------------------------------------------
  41. Anthony Rzepela    <rzepela@cvi.hahnemann.edu>
  42. "What IS this fascination with Axl Rose? He looks so...unhealthy."  M.L.C. 1991
  43. -------------------
  44.