Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈伟灿
k-sdk
Commits
085f236f
Commit
085f236f
authored
Dec 31, 2021
by
黄振令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.8197平台全部加signal会退出,所以区别对待
parent
5c08ea86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
application/klansdk/kk_lan_main.c
application/klansdk/kk_lan_main.c
+9
-6
No files found.
application/klansdk/kk_lan_main.c
View file @
085f236f
...
@@ -208,15 +208,18 @@ int main(int argc, char* argv[])
...
@@ -208,15 +208,18 @@ int main(int argc, char* argv[])
int
ret
=
0
;
int
ret
=
0
;
struct
sigaction
sa
;
struct
sigaction
sa
;
#ifdef CONFIG_8197_PLATFORM
signal
(
SIGPIPE
,
SIG_IGN
);
signal
(
SIGALRM
,
SIG_IGN
);
signal
(
SIGSTOP
,
SIG_IGN
);
#else
/* setup alarm signal handler */
/* setup alarm signal handler */
//#ifdef CONFIG_NX5_PLATFORM
//#ifdef CONFIG_NX5_PLATFORM
//for(int i=1;i<32;i++){
for
(
int
i
=
1
;
i
<
32
;
i
++
){
// printf("allan i=%d \n", i);
signal
(
i
,
handler
);
// signal(i, handler);
}
//}
//#endif
//#endif
#endif
//signal(SIGPIPE, SIG_IGN);
//signal(SIGPIPE, SIG_IGN);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment