mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
Kernel: Some small refinements to the thread blockers.
Committing some things my hands did while browsing through this code. - Mark all leaf classes "final". - FileDescriptionBlocker now stores a NonnullRefPtr<FileDescription>. - FileDescriptionBlocker::blocked_description() now returns a reference. - ConditionBlocker takes a Function&&.
This commit is contained in:
parent
80a6df9022
commit
705cd2491c
5 changed files with 49 additions and 54 deletions
|
@ -36,8 +36,8 @@ public:
|
|||
|
||||
KResult fchmod(mode_t);
|
||||
|
||||
bool can_read();
|
||||
bool can_write();
|
||||
bool can_read() const;
|
||||
bool can_write() const;
|
||||
|
||||
ssize_t get_dir_entries(u8* buffer, ssize_t);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue