Revision 1227 branches/threaded2merge/src/linad99/thread_stuff.cpp

thread_stuff.cpp (revision 1227)
340 340
{
341 341
  if (stransfer_buffer[s1][s2]== 0)
342 342
  {
343
    transfer_buffer[s1][s2]=new char[bs];
344
    scurrent_bptr[s1][s2]=transfer_buffer[s1][s2];
343
    //transfer_buffer[s1][s2]=new char[bs];
344
    //scurrent_bptr[s1][s2]=transfer_buffer[s1][s2];
345
    stransfer_buffer[s1][s2]=new char[bs];
346
    scurrent_bptr[s1][s2]=stransfer_buffer[s1][s2];
345 347
    sbuffend[s1][s2]=stransfer_buffer[s1][s2]+bs-1;
346 348
    cout << "Initialized transfer buffer for pair " 
347 349
         << s1 << "  " << s2 << endl;

Also available in: Unified diff