add three thread,process sensorQueue/sendQueue/receiveQueue respectively