Expand description
Thread callback information and utilities for azul-layout
This module provides thread-related callback structures for background tasks that need to interact with the UI thread and query layout information.
Structs§
- Create
Thread Callback - Library
Receive Thread MsgCallback - Thread
- Wrapper around Thread because Thread needs to be clone-able
- Thread
Callback - Thread
Destructor Callback - Thread
Inner - A
Threadis a separate thread that is owned by the framework. - Thread
Send Callback - Thread
Sender - ThreadSender allows sending messages from the background thread to the main thread
- Thread
Sender Destructor Callback - Thread
Sender Inner - Thread
Write Back Msg - Message containing writeback data and callback
- Write
Back Callback - Callback that can run when a thread receives a
WriteBackmessage
Enums§
- Option
Thread - Optional Thread type for API compatibility
- Option
Thread Receive Msg - Thread
Receive Msg - Message that is sent back from the running thread to the main thread
Functions§
- create_
thread_ libstd - Create a new thread using the standard library
- thread_
sleep_ ms - Sleeps the current thread for the specified number of milliseconds.
- thread_
sleep_ ns - Sleeps the current thread for the specified number of nanoseconds.
- thread_
sleep_ us - Sleeps the current thread for the specified number of microseconds.
Type Aliases§
- Create
Thread Callback Type - Function that creates a new Thread object
- Library
Receive Thread MsgCallback Type - Thread
Callback Type - Thread
Destructor Callback Type - Thread
Send Callback Type - Callback for sending messages from thread to main thread
- Thread
Sender Destructor Callback Type - Destructor callback for ThreadSender
- Write
Back Callback Type - Callback that runs when a thread receives a
WriteBackmessage