This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
serenity
Watch
1
Star
0
Fork
You've already forked serenity
0
mirror of
https://github.com/SerenityOS/serenity.git
synced
2025-01-24 10:22:05 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
6a51093ab1
serenity
/
AK
/
Badge.h
8 lines
81 B
C
Raw
Normal View
History
Unescape
Escape
Deallocate PTY's when they close. This required a fair bit of plumbing. The CharacterDevice::close() virtual will now be closed by ~FileDescriptor(), allowing device implementations to do custom cleanup at that point. One big problem remains: if the master PTY is closed before the slave PTY, we go into crashy land.
2019-01-30 18:26:19 +01:00
#
pragma once
template
<
typename
T
>
class
Badge
{
friend
T
;
Add clang-format file Also run it across the whole tree to get everything using the One True Style. We don't yet run this in an automated fashion as it's a little slow, but there is a snippet to do so in makeall.sh.
2019-05-28 11:53:16 +02:00
Badge
(
)
{
}
Deallocate PTY's when they close. This required a fair bit of plumbing. The CharacterDevice::close() virtual will now be closed by ~FileDescriptor(), allowing device implementations to do custom cleanup at that point. One big problem remains: if the master PTY is closed before the slave PTY, we go into crashy land.
2019-01-30 18:26:19 +01:00
}
;
Reference in a new issue
Copy permalink