home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!mdonalds
- From: mdonalds@monu6.cc.monash.edu.au (Michael Donaldson)
- Subject: Multiple Thread Database Access
- Message-ID: <1992Jul22.071459.11400@monu6.cc.monash.edu.au>
- Summary: Request for information, source code, hints, anything.
- Keywords: Threads Databases
- Organization: Monash University, Caulfield Campus
- Date: Wed, 22 Jul 1992 07:14:59 GMT
- Lines: 27
-
- I am an honours student at Monash University currently looking at ways
- to enable access to OS/2 Database Manager from multiple threads. I
- am looking for anyone who has successfully achieved this.
-
- I would appeciate any information on the topic generally.
-
- The problem with OS/2 DM is that it locks database regions on process id.
- (PID) and not thread id. (TID) as well. As you can imagine, concurrent
- access of the database from multiple threads with the same PID will/can
- corrupt the database.
-
- Typically EnterDosCritSec is a method to solve the problem, but this does
- not allow multi-tasking to occur.
-
- What would be fantastic is any information or source code that wil access
- the database from multiple threads.
-
- If you need any more information regarding the request, feel free to contact
- me at my E-mail address (below).
-
- Thanks in advance,
-
- Michael Donaldson.
- mdonalds@monu6.cc.monash.edu.au
-
-
-
-