Surgery

The ideal treatment for hemothorax of blood loss greater than 500 ml/hour -