Fix style.
This commit is contained in:
@@ -76,7 +76,6 @@ typedef int (*IpcInterface)(struct IpcMsg* msg);
|
||||
struct IpcNode {
|
||||
char* name;
|
||||
IpcInterface interfaces[UINT8_MAX];
|
||||
void (*cycle_handler)();
|
||||
} __attribute__((packed));
|
||||
|
||||
#define IPC_SERVER_LOOP(ipc_node_name) rpc_server_loop_##rpc_node_name
|
||||
@@ -243,6 +242,8 @@ bool is_cur_session_delayed(void);
|
||||
}
|
||||
|
||||
int cur_session_id(void);
|
||||
bool server_set_cycle_handler(struct IpcNode* ipc_node, void (*handler)());
|
||||
/// @brief delay the session(message, or a inter-process-call)
|
||||
/// the delayed call will be handled again later from begining, not from the position where delay_session() is called.
|
||||
/// @param
|
||||
void delay_session(void);
|
||||
bool is_cur_handler_been_delayed();
|
||||
Reference in New Issue
Block a user