pause in attachintterrupt

I want to use 2 attachinterrupts, the first one (E) must always continue, the seconde one (G) has to count 1 puls and then stop for 2 secondes (not sensitiv for pulses)

How can I fix this ??

gr. Softi

Part of the code:

const int logInterruptE = 1; // interrupt 1 = pin 3
const int interruptPinE = 3; // for electra

const int logInterruptG = 0; // interrupt 0 = pin 2
const int interruptPinG = 2; // for gas

void setup(void)
{
Serial.begin(9600);

attachInterrupt(logInterruptE, interruptHandlerE, FALLING);
attachInterrupt(logInterruptG, interruptHandlerG, FALLING);
}

void interruptHandlerE() // routine called when external interrupt is triggered
{
wattSensor = wattSensor + 1; //Update number of pulses, 1 pulse = 1 watt
}

void interruptHandlerG() // routine called when external interrupt is triggered
{
gasSensor = gasSensor + 1; //Update number of pulses, 1 pulse = 0,001 M3
}

This may work...

void interruptHandlerG() // routine called when external interrupt is triggered
{
  static unsigned long pms = 0xFFFFFFFF - 2001;
  unsigned long cms;

  cms = millis();
  if ( cms - pms >= 2000 )
  {
    gasSensor = gasSensor + 1;  //Update number of pulses, 1 pulse = 0,001 M3
    pms = cms;
  }
}

It's working, Thanks
gr.