Department of Scientific Computing   
Institute for Numerical Simulation   
University of Bonn   
Documentation
Download
Programming References
Bug Reports / Suggestions
FAQ
Authors
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

SMPPoll.cc

00001 #include "AdaptiveLevels.hpp"
00002 
00003 //
00004 // polling routine for thread
00005 // 
00006 // has to be compiled seperately from AdaptiveLevels in order to protect the 
00007 // actual polling loop from compiler optimizations
00008 //
00009 void *PollProcessSMPjob(void *jb) {
00010   SMPjob *job=(SMPjob *)jb ;
00011   
00012   // poll
00013 poll: ;
00014 
00015   while (job->getpoll()) ; 
00016   job->setpoll() ;
00017 
00018   if (job->terminate) { return NULL ; }
00019 
00020   if ((job->op !=WENO3) && (job->op !=WENO5)) ProcessSMPjob(jb) ;
00021   else                                        ProcessSMPjobWENO(jb) ;
00022 
00023   goto poll ;
00024 }

Generated at Mon Aug 19 10:02:32 2002 for AWFD by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001