home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3704 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!mdonalds
  3. From: mdonalds@monu6.cc.monash.edu.au (Michael Donaldson)
  4. Subject: Multiple Thread Database Access
  5. Message-ID: <1992Jul22.071459.11400@monu6.cc.monash.edu.au>
  6. Summary: Request for information, source code, hints, anything.
  7. Keywords: Threads Databases
  8. Organization: Monash University, Caulfield Campus
  9. Date: Wed, 22 Jul 1992 07:14:59 GMT
  10. Lines: 27
  11.  
  12. I am an honours student at Monash University currently looking at ways
  13. to enable  access to OS/2 Database Manager from multiple threads.  I
  14. am looking for anyone who has successfully achieved this.
  15.  
  16. I would appeciate any information on the topic generally.
  17.  
  18. The problem with OS/2 DM is that it locks database regions on process id.
  19. (PID) and not thread id. (TID) as well.  As you can imagine, concurrent
  20. access of the database from multiple threads with the same PID will/can
  21. corrupt the database.
  22.  
  23. Typically EnterDosCritSec is a method to solve the problem, but this does
  24. not allow multi-tasking to occur.
  25.  
  26. What would be fantastic is any information or source code that wil access
  27. the database from multiple threads.
  28.  
  29. If you need any more information regarding the request, feel free to contact
  30. me at my E-mail address (below).
  31.  
  32. Thanks in advance,
  33.  
  34. Michael Donaldson.
  35. mdonalds@monu6.cc.monash.edu.au
  36.  
  37.  
  38.  
  39.