Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-14238-914330
OSKernrl2022-rv6
Commits
3c9c3c5b
Commit
3c9c3c5b
authored
2 years ago
by
Xiao Lu
Browse files
Options
Download
Patches
Plain Diff
2
parent
c9b6cf2c
fs_test
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/signal.c
+2
-2
src/signal.c
with
2 additions
and
2 deletions
+2
-2
src/signal.c
+
2
−
2
View file @
3c9c3c5b
...
...
@@ -143,7 +143,7 @@ void sighandle(void) {
int
bit
=
(
unsigned
long
)(
p
->
killed
)
%
len
;
p
->
sig_pending
.
__val
[
i
]
&=
~
(
1ul
<<
bit
++
);
p
->
killed
=
0
;
__debug_info
(
"finish1
\n
"
);
//
__debug_info("finish1\n");
for
(;
i
<
SIGSET_LEN
;
i
++
)
{
while
(
bit
<
len
)
{
if
(
p
->
sig_pending
.
__val
[
i
]
&
(
1ul
<<
bit
))
{
...
...
@@ -166,7 +166,7 @@ void sighandle(void) {
ksigaction_t
*
sigact
;
start_handle:
// search for signal handler
//
__debug_info("[sighandle] start handler signum=%d\n", signum);
__debug_info
(
"[sighandle] start handler signum=%d
\n
"
,
signum
);
sigact
=
__search_sig
(
p
,
signum
);
// fast skip
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets