Download IRIS Performer™ Programmer`s Guide
Transcript
Successful Multiprocessing With IRIS Performer • “Trigger” routines should be called only from the appropriate processes (see Table 7-4). Table 7-4 Trigger Routines and Associated Processes Trigger Routine Process/Context pfAppFrame pfSync pfFrame APP/main loop pfPassChanData pfPassIsectData APP/main loop pfApp APP/channel APP callback pfCull pfCullPath CULL/channel CULL callback pfDraw pfDrawBin DRAW/channel DRAW callback pfNodeIsectSegs pfChanNodeIsectSegs ISECT/callback or APP/main loop pfDBase DBASE/callback • User-spawned processes created with sproc() can trigger parallel intersection traversals through multiple calls to pfNodeIsectSegs() and pfChanNodeIsectSegs(). • Functions pfApp(), pfCull(), pfDraw(), and pfDBase() are only called from within the corresponding callback specified by pfChanTravFunc() or pfDBaseFunc(). 225