[−][src]Module rask_wasm_shared::mem
Structs
| GameState | |
| SynchronizationMemory |
Constants
| ALLOCATOR | The address of the Allocator structures |
| DOUBLE_BUFFER | The address of the double buffer (size: target dependent) |
| DOUBLE_BUFFER_SIZE | |
| DOUBLE_BUFFER_SPRITE_COUNT | |
| GRAPHICS_HEAP | The graphics heap address |
| GRAPHICS_STACK | The position of the stack. |
| LOGIC_HEAP | The logic heap address (size: 32MiB) |
| LOGIC_STACK | The position of the stack. |
| MESSAGE_QUEUE | Address of the event queue |
| MESSAGE_QUEUE_ELEMENT_COUNT | |
| MESSAGE_QUEUE_SIZE | |
| RESOURCE_TABLE | Address of the internal resource library. |
| RESOURCE_TABLE_ELEMENT_COUNT | |
| RESOURCE_TABLE_SIZE | |
| SYNCHRONIZATION_MEMORY | The address memory synchronization area. It contains data needed for synchronization between main thread and logic thread. |
Functions
| atomic_read_i32⚠ | |
| atomic_read_u8⚠ | |
| atomic_read_u32⚠ | |
| atomic_write_u8⚠ | |
| atomic_write_u32⚠ | |
| get_double_buffer | |
| llvm_atomic_wait_i32⚠ | see https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md#wait-and-notify-operators |
| wait_until_wake_up_at | |
| wake_up_at | performs a notify at a given address and return the count of waiters |