🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Michael Donaldson Wed, 22 Jul 1992 07:14
Multiple Thread Database Access
#402
Author: Michael Donaldson
Date: Wed, 22 Jul 1992 07:14
24 lines
1390 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads