Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140604435
D9709.id25609.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
699 B
Referenced Files
None
Subscribers
None
D9709.id25609.diff
View Options
Index: head/sys/kern/subr_terminal.c
===================================================================
--- head/sys/kern/subr_terminal.c
+++ head/sys/kern/subr_terminal.c
@@ -375,7 +375,10 @@
TERMINAL_UNLOCK_TTY(tm);
}
- tm->tm_class->tc_done(tm);
+ TERMINAL_LOCK_TTY(tm);
+ if (!(tm->tm_flags & TF_MUTE))
+ tm->tm_class->tc_done(tm);
+ TERMINAL_UNLOCK_TTY(tm);
if (flags & TF_BELL)
tm->tm_class->tc_bell(tm);
}
@@ -545,10 +548,9 @@
teken_set_curattr(&tm->tm_emulator, &kernel_message);
teken_input(&tm->tm_emulator, &cv, 1);
teken_set_curattr(&tm->tm_emulator, &backup);
+ tm->tm_class->tc_done(tm);
}
TERMINAL_UNLOCK_CONS(tm);
-
- tm->tm_class->tc_done(tm);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 26, 8:44 PM (9 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27289570
Default Alt Text
D9709.id25609.diff (699 B)
Attached To
Mode
D9709: Fix locking on the vt driver's data structures.
Attached
Detach File
Event Timeline
Log In to Comment