blob: e6b2919d873f3f3fdcf6f62eb1ffba0d5388aa9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// -*- C++ -*-
#if defined (ACE_WIN32) && !defined (ACE_HAS_PHARLAP)
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE size_t
ACE_Pagefile_Memory_Pool::round_to_chunk_size (size_t nbytes)
{
return (nbytes + ACE_DEFAULT_PAGEFILE_POOL_CHUNK - 1)
& (~(ACE_DEFAULT_PAGEFILE_POOL_CHUNK - 1));
}
ACE_INLINE size_t
ACE_Pagefile_Memory_Pool::round_to_page_size (size_t nbytes)
{
return ACE::round_to_pagesize (nbytes);
}
ACE_INLINE int
ACE_Pagefile_Memory_Pool::sync (ssize_t, int)
{
return 0;
}
ACE_INLINE int
ACE_Pagefile_Memory_Pool::sync (void *, size_t, int)
{
return 0;
}
ACE_INLINE int
ACE_Pagefile_Memory_Pool::protect (ssize_t, int)
{
return 0;
}
ACE_INLINE int
ACE_Pagefile_Memory_Pool::protect (void *, size_t, int)
{
return 0;
}
ACE_INLINE void *
ACE_Pagefile_Memory_Pool::base_addr () const
{
return 0;
}
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_WIN32 &7 !ACE_HAS_PHARLAP */
|