home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 June / PCWorld_2005-06_cd.bin / software / vyzkuste / firewally / firewally.exe / framework-2.3.exe / lock.h < prev    next >
C/C++ Source or Header  |  2004-01-30  |  664b  |  23 lines

  1. #ifndef __SYS_LOCK_H__
  2. #define __SYS_LOCK_H__
  3.  
  4. /* dummy lock routines for single-threaded aps */
  5.  
  6. typedef int _LOCK_T;
  7. typedef int _LOCK_RECURSIVE_T;
  8.  
  9. #define __LOCK_INIT(class,lock) static int lock = 0;
  10. #define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0;
  11. #define __lock_init(lock) {}
  12. #define __lock_init_recursive(lock) {}
  13. #define __lock_close(lock) {}
  14. #define __lock_close_recursive(lock) {}
  15. #define __lock_acquire(lock) {}
  16. #define __lock_acquire_recursive(lock) {}
  17. #define __lock_try_acquire(lock) {}
  18. #define __lock_try_acquire_recursive(lock) {}
  19. #define __lock_release(lock) {}
  20. #define __lock_release_recursive(lock) {}
  21.  
  22. #endif /* __SYS_LOCK_H__ */
  23.