mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
*** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@397 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
919f5ecd8d
commit
1ea60c98b7
@ -161,6 +161,7 @@ int main(int oargc, char **oargv) {
|
||||
}
|
||||
|
||||
// create client
|
||||
int nclients = 0;
|
||||
for (int i=0; i<NUMCLIENT; i++) {
|
||||
if (myrank != MPI_DEST_TO_RANK(MSG_ADDR_CLIENT(i),world)) continue;
|
||||
|
||||
@ -177,11 +178,16 @@ int main(int oargc, char **oargv) {
|
||||
syn[i]->sargs = syn_sargs;
|
||||
syn[i]->iargs = syn_iargs;
|
||||
syn[i]->start_thread();
|
||||
|
||||
nclients++;
|
||||
}
|
||||
if (nclients) {
|
||||
cout << "waiting for " << nclients << " clients to finish" << endl;
|
||||
}
|
||||
for (int i=0; i<NUMCLIENT; i++) {
|
||||
if (myrank != MPI_DEST_TO_RANK(MSG_ADDR_CLIENT(i),world)) continue;
|
||||
|
||||
cout << "waiting for synthetic client" << i << " to finish" << endl;
|
||||
// cout << "waiting for synthetic client" << i << " to finish" << endl;
|
||||
syn[i]->join_thread();
|
||||
delete syn[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user