rt.gc.basic.gcalloc

This module contains allocation functions for the garbage collector.

Members

Aliases

pthread_t
alias pthread_t = int
Undocumented in source.

Functions

os_mem_commit
int os_mem_commit(void* base, size_t offset, size_t nbytes)

Commit memory.

os_mem_commit
int os_mem_commit(void* base, size_t offset, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_commit
int os_mem_commit(void* base, size_t offset, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_commit
int os_mem_commit(void* base, size_t offset, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_decommit
int os_mem_decommit(void* base, size_t offset, size_t nbytes)

Decommit memory.

os_mem_decommit
int os_mem_decommit(void* base, size_t offset, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_decommit
int os_mem_decommit(void* base, size_t offset, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_decommit
int os_mem_decommit(void* base, size_t offset, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_map
void* os_mem_map(size_t nbytes)

Map memory.

os_mem_map
void* os_mem_map(size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_map
void* os_mem_map(size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_map
void* os_mem_map(size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_unmap
int os_mem_unmap(void* base, size_t nbytes)

Unmap memory allocated with os_mem_map(). Memory must have already been decommitted.

os_mem_unmap
int os_mem_unmap(void* base, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_unmap
int os_mem_unmap(void* base, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
os_mem_unmap
int os_mem_unmap(void* base, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
pthread_self
pthread_t pthread_self()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

PAGE_MASK
size_t PAGE_MASK;
Undocumented in source.

Meta

License

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, in both source and binary form, subject to the following restrictions:

o The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. o Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. o This notice may not be removed or altered from any source distribution.

Authors

Walter Bright, David Friedman, Sean Kelly