From c479ef57baaaa28964fc3ec8d80ff99dffa7d49f Mon Sep 17 00:00:00 2001
From: fujuntang <fujuntang@smartai.com>
Date: 星期三, 10 十一月 2021 09:49:29 +0800
Subject: [PATCH] Fix the system hang issue when the app is killed contantly.

---
 src/bus_error.h |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/bus_error.h b/src/bus_error.h
index 769aa36..dfcfe06 100644
--- a/src/bus_error.h
+++ b/src/bus_error.h
@@ -13,9 +13,15 @@
 #define EBUS_RECVFROM_WRONG_END 506
 #define EBUS_STOPED 507
 #define EBUS_EXCEED_LIMIT 508
+#define EBUS_RES_UNSUPPORT  509
+#define EBUS_RES_BUSY  510
+#define EBUS_RES_NO  511
+#define EBUS_INVALID_PARA  512
+#define EBUS_NO_MEM       513
 
 extern int bus_errno;
 
-char *bus_strerror(int eno) ;
+char *bus_strerror(int eno, int flag = 0);
+void bus_errorset(int err);
 
 #endif
\ No newline at end of file

--
Gitblit v1.8.0