#import <Foundation/Foundation.h>
Go to the source code of this file.
Classes | |
class | AEMessageQueue |
Message Queue. More... | |
Typedefs | |
typedef void(* | AEMessageQueueMessageHandler )(void *userInfo, int userInfoLength) |
Main thread message handler function. | |
typedef void(* AEMessageQueueMessageHandler)(void *userInfo, int userInfoLength) |
Main thread message handler function.
Create functions of this type in order to handle messages from the realtime thread on the main thread. You then pass a pointer to these functions when using AEMessageQueueSendMessageToMainThread on the realtime thread, along with data to pass through via the userInfo parameter.
See AEMessageQueueSendMessageToMainThread for further discussion.
userInfo | Pointer to your data |
userInfoLength | Length of userInfo in bytes |