This website requires JavaScript.
Explore
Help
Sign In
system
/
serenity
Watch
1
Star
0
Fork
You've already forked serenity
0
mirror of
https://github.com/SerenityOS/serenity
synced
2024-07-21 10:05:32 +00:00
Code
Issues
Actions
5
Packages
Projects
Releases
Wiki
Activity
c4d24bb4e9
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 17:26:19 +00: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 09:53:16 +00: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 17:26:19 +00:00
}
;
Reference in a new issue
Copy permalink