CriticalSectionGraphicWindow.h File Reference

#include <windows.h>

Include dependency graph for CriticalSectionGraphicWindow.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void Setscig_buzyState (BOOL state)


Function Documentation

void Setscig_buzyState ( BOOL  state  ) 

Definition at line 11 of file CriticalSectionGraphicWindow.c.

00012 {
00013         if (init_C_S_Sync_scig_buzy==0)
00014         {
00015                 InitializeCriticalSection(&Sync_scig_buzy);
00016                 init_C_S_Sync_scig_buzy++;
00017         }
00018 
00019         if (state == TRUE)
00020         {
00021                 EnterCriticalSection(&Sync_scig_buzy);
00022         }
00023         else
00024         {
00025                 LeaveCriticalSection(&Sync_scig_buzy);
00026         }
00027 }


Generated on Sun Mar 4 15:56:55 2007 for Scilab [trunk] by  doxygen 1.5.1