------------------------------------------------------------------------------
| 1041 | |
| 1042 | //------------------------------------------------------------------------------ |
| 1043 | void vtkSocketCommunicator::Barrier() |
| 1044 | { |
| 1045 | int junk = 0; |
| 1046 | if (this->IsServer) |
| 1047 | { |
| 1048 | this->Send(&junk, 1, 1, BARRIER_TAG); |
| 1049 | this->Receive(&junk, 1, 1, BARRIER_TAG); |
| 1050 | } |
| 1051 | else |
| 1052 | { |
| 1053 | this->Receive(&junk, 1, 1, BARRIER_TAG); |
| 1054 | this->Send(&junk, 1, 1, BARRIER_TAG); |
| 1055 | } |
| 1056 | } |
| 1057 | |
| 1058 | //------------------------------------------------------------------------------ |
| 1059 | int vtkSocketCommunicator::BroadcastVoidArray(void* data, vtkIdType length, int type, int root) |