source: trunk/dll/flesh.h@ 1860

Last change on this file since 1860 was 1860, checked in by Steven Levine, 10 years ago

Rework FlesWaitForWorkListEmpty to support wait for parents of path
Add more wrappers for mutex and event semaphores
Clean up some obsolete code

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1
2/***********************************************************************
3
4 $Id: flesh.h 1860 2015-08-22 02:30:34Z stevenhl $
5
6 Drive tree container management
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008, 2015 Steven H. Levine
10
11 07 Aug 15 SHL Rework to use AddFleshWorkRequest rather than direct calls to Stubby/Flesh/Unflesh
12 19 Aug 15 SHL Allow WaitFleshWorkListEmpty to wait for dependent items
13
14***********************************************************************/
15
16#if !defined(FLESH_H)
17#define FLESH_H
18
19BOOL StartFleshWorkThread(VOID);
20
21typedef enum {eStubby, eFlesh, eFleshEnv, eUnFlesh, eFillDir} FLESHWORKACTION;
22
23BOOL IsFleshWorkListEmpty();
24
25VOID SetFleshFocusPath(PCSZ pszPath);
26
27#if 0 // 2015-08-03 SHL FIXME debug
28VOID WaitFleshWorkListEmpty(PCSZ pszDirName);
29#else
30#define WaitFleshWorkListEmpty(pszDirName) WaitFleshWorkListEmptyDbg(pszDirName, __FILE__, __LINE__)
31VOID WaitFleshWorkListEmptyDbg(PCSZ pszDirName, PCSZ pszSrcFile, UINT uSrcLineNo);
32#endif
33
34#if 0 // 2015-08-03 SHL FIXME debug
35BOOL AddFleshWorkRequest(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action);
36#else
37#define AddFleshWorkRequest(hwnCnr, pciParent, action) AddFleshWorkRequestDbg(hwnCnr, pciParent, action, __FILE__, __LINE__)
38BOOL AddFleshWorkRequestDbg(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action, PCSZ pszSrcFile, UINT uSrcLineNo);
39#endif
40
41// Data declarations
42extern ULONG NoBrokenNotify;
43extern BOOL fFilesInTree;
44
45
46#endif // FLESH_H
Note: See TracBrowser for help on using the repository browser.