优化系统配置

This commit is contained in:
zhangzheng
2023-12-23 16:17:15 +08:00
parent 2257708583
commit 9ac8a7ddcd
21 changed files with 115 additions and 36 deletions

View File

@@ -11,6 +11,8 @@
#include <sys/time.h>
#include <pthread.h>
#include <errno.h>
#ifdef CONFIG_USING_SIG
static int shell_sig_call_back(pid_t pid, umword_t sig_val)
{
/*TODO:这个消息是init发送的这里不能给init发送消息否导致卡死*/
@@ -29,3 +31,4 @@ int shell_test_sig(int argc, char *argv[])
return pm_sig_watch(pid, 0 /*TODO:现在只有kill */);
}
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0) | SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), test_sig, shell_test_sig, shell_test_sig command);
#endif