Browse Source

For later use..

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3795 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/v1.9.4
sletz 15 years ago
parent
commit
f902da20ce
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      windows/JackShmMem_os.h

+ 3
- 1
windows/JackShmMem_os.h View File

@@ -21,7 +21,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef __JackShmMem_WIN32__
#define __JackShmMem_WIN32__

#include <windows.h>
#include <windows.h>
// See GetProcessWorkingSetSize and SetProcessWorkingSetSize

#define CHECK_MLOCK(ptr, size) (VirtualLock((ptr), (size)) != 0)
#define CHECK_MUNLOCK(ptr, size) (VirtualUnlock((ptr), (size)) != 0)


Loading…
Cancel
Save