John Rohlf (jrohlf++at++tubes)
Thu, 14 Oct 93 11:16:05 -0700
You can make libpr but not libpf calls from the database
loading process. libpf calls modify a global structure that can
be a source of contention if multiple processes make libpf calls
in parallel. Another option is to use a lock to guarantee that the
database and application processes do not make libpf calls at the
same time.
What I suggest is:
1. Load the file from disk into main memory in the database process.
2. Use a lock around each libpf call or group of calls.
ussetlock(libpfLock);
pfAddChild(a, b);
usunsetlock(libpfLock);
If you are using the .flt loader then you will need to get and
modify the source code.
I realize this is painful but rest assured that we are aware of this
problem and consider it a high priority.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:03 PDT