pfMultiprocess

New Message Reply Date view Thread view Subject view Author view

From: Dirk Scheffter (scheff++at++usg.iff.fhg.de)
Date: 03/27/2000 23:37:18


pfHi there,

I want to determine the optimal process forking automatically. I could use
pfMultiprocess(PFMP_DEFAULT). Hmmm, but I have to call my own DBase process for
asynchronous database loading. Combining PFMP_DEFAULT | PFMP_FORK_DBASE was not
the solution. No wonder! PFMP_DEFAULT == -1. Now I use 0 | PFMP_FORK_DBASE if
there is no other specific request by user but this results in single
processing except the extra DBase process. That's unsatisfying, also.
Desired solution would propose process forking like PFMP_DEFAULT and then add
extra PFMP_FORK_DBASE. This should be OK because DBase does nothing after all
models has been loaded.
pfGetMPMode() and pfGetMPBitmask() doesn't return an useful result until
pfConfig() is done. But after pfConfig() it's too late. (Or not?)

Is there anybody who could give me a hint?

pfGreetings and pfThanks in advance,
Dirk.

-- 
-----------------------------------------------------------
Dipl.-Inf. Dirk Scheffter                 scheff++at++iff.fhg.de       
Fraunhofer IFF                   fon: +49 (0) 391/40 90-854
Sandtorstr. 22                   fax: +49 (0) 391/40 90-870
D-39106 Magdeburg         http://www.usg.iff.fhg.de/~scheff   
Germany             
--------< Try this: http://www.usg.iff.fhg.de/ibft/mowib >-


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Mar 27 2000 - 23:37:07 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.