Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.0 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: TaskSwitch.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of TaskSwitch.h
  13. //----------------------------------------------------------------------------
  14. // TaskSwitchLock.h: interface for the CTaskSwitch class.
  15. //
  16. //////////////////////////////////////////////////////////////////////
  17. #if !defined(AFX_TASKSWITCHLOCK_H__BCA84362_28F2_4437_916E_BD580DF16E33__INCLUDED_)
  18. #define AFX_TASKSWITCHLOCK_H__BCA84362_28F2_4437_916E_BD580DF16E33__INCLUDED_
  19. #include "..\DLIB\MemoryFile.h"
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif
  23. class CTaskSwitch
  24. {
  25. public:
  26. CTaskSwitch();
  27. virtual ~CTaskSwitch();
  28. public:
  29. void Lock();
  30. void Unlock();
  31. };
  32. #endif // !defined(AFX_TASKSWITCHLOCK_H__BCA84362_28F2_4437_916E_BD580DF16E33__INCLUDED_)