#include <threadbus.h>
Inherits AZ::EBusTraits.
Public Member Functions | |
| virtual void | OnThreadEnter (const AZStd::thread::id &id, const AZStd::thread_desc *desc)=0 |
| Called when we enter a thread, optional thread_desc is provided when the use provides one. | |
| virtual void | OnThreadExit (const AZStd::thread::id &id)=0 |
| Called when we exit a thread. | |
Static Public Attributes | |
| static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
| static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
Static Public Attributes inherited from AZ::EBusTraits | |
| static constexpr EBusHandlerPolicy | HandlerPolicy = EBusHandlerPolicy::Multiple |
| static constexpr EBusAddressPolicy | AddressPolicy = EBusAddressPolicy::Single |
| static constexpr bool | EnableEventQueue = false |
| static constexpr bool | EventQueueingActiveByDefault = true |
| static constexpr bool | EnableQueuedReferences = false |
| static constexpr bool | LocklessDispatch = false |
Additional Inherited Members | |
Protected Member Functions inherited from AZ::EBusTraits | |
| ~EBusTraits ()=default | |
ThreadEvents are used by user-code. You can connect to the ThreadEvents bus, and then be told whenever a new thread is spawned and when it dies.