git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@790 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
9c87b3b0c0
commit
adb6419766
60 changed files with 1017 additions and 1095 deletions
|
|
@ -50,9 +50,13 @@
|
|||
#include <eoReplacement.h>
|
||||
#include <eoPop.h>
|
||||
|
||||
#include "core/messaging.h"
|
||||
#include "core/eoPop_mesg.h"
|
||||
#include "core/eoVector_mesg.h"
|
||||
|
||||
#include "core/topology.h"
|
||||
#include "core/thread.h"
|
||||
#include "core/eoPop_comm.h"
|
||||
#include "core/cooperative.h"
|
||||
#include "core/peo_debug.h"
|
||||
|
||||
|
||||
|
|
@ -225,13 +229,12 @@ template< class EOT > void peoSyncIslandMig< EOT > :: pack()
|
|||
{
|
||||
|
||||
lock ();
|
||||
{
|
||||
|
||||
:: pack( coop_em.front()->getKey() );
|
||||
:: pack( em.front() );
|
||||
coop_em.pop();
|
||||
em.pop();
|
||||
}
|
||||
pack( coop_em.front()->getKey() );
|
||||
pack( em.front() );
|
||||
coop_em.pop();
|
||||
em.pop();
|
||||
|
||||
unlock();
|
||||
}
|
||||
|
||||
|
|
@ -240,12 +243,11 @@ template< class EOT > void peoSyncIslandMig< EOT > :: unpack()
|
|||
{
|
||||
|
||||
lock ();
|
||||
{
|
||||
|
||||
eoPop< EOT > mig;
|
||||
:: unpack( mig );
|
||||
imm.push( mig );
|
||||
}
|
||||
eoPop< EOT > mig;
|
||||
unpack( mig );
|
||||
imm.push( mig );
|
||||
|
||||
unlock();
|
||||
|
||||
sem_post( &sync );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue