Logo Search packages:      
Sourcecode: cairo-dock version File versions

void cairo_dock_free_measure_timer ( CairoDockMeasure *  pMeasureTimer  ) 

Stoppe et detruit une mesure periodique, liberant toutes ses ressources allouees.

Parameters:
pMeasureTimer la mesure periodique.

Definition at line 438 of file cairo-dock-applet-facility.c.

{
      if (pMeasureTimer == NULL)
            return ;
      cairo_dock_stop_measure_timer (pMeasureTimer);
      
      cd_message ("on attend que le thread termine...");
      while (g_atomic_int_get (&pMeasureTimer->iThreadIsRunning));
      cd_message ("temine.");
      
      g_mutex_free (pMeasureTimer->pMutexData);
      g_free (pMeasureTimer);
}


Generated by  Doxygen 1.6.0   Back to index