mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
add cond_wait for socket message
This commit is contained in:
@@ -529,7 +529,7 @@ skynet_command(struct skynet_context * context, const char * cmd , const char *
|
||||
}
|
||||
|
||||
if (strcmp(cmd,"MONITOR") == 0) {
|
||||
uint32_t handle;
|
||||
uint32_t handle=0;
|
||||
if (param == NULL || param[0] == '\0') {
|
||||
handle = context->handle;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user