#include "CriticalSectionGraphicWindow.h"Include dependency graph for CriticalSectionGraphicWindow.c:

Go to the source code of this file.
Functions | |
| void | Setscig_buzyState (BOOL state) |
Variables | |
| static CRITICAL_SECTION | Sync_scig_buzy |
| static int | init_C_S_Sync_scig_buzy = 0 |
| void Setscig_buzyState | ( | BOOL | state | ) |
Definition at line 11 of file CriticalSectionGraphicWindow.c.
References init_C_S_Sync_scig_buzy, Sync_scig_buzy, and TRUE.
Referenced by CopyPrint(), CopyToClipboardBitmap(), CopyToClipboardEMF(), ExportBMP(), ExportEMF(), and ScilabPaint().
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 }
Here is the caller graph for this function:

int init_C_S_Sync_scig_buzy = 0 [static] |
CRITICAL_SECTION Sync_scig_buzy [static] |
1.5.1