forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reactor: Add read_directory() method
The one wraps getdents64 syscall and is used by existing posix_file_impl to list fd's directs. Next patch will re-use this call for generator version of the same method. Another good point of this patch is that reactor friends posix_file_impl so that this class could access private reactor._thread_pool field. This patch wraps thread-pool access thus getting us closer to breaking this friendship. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
- Loading branch information
Showing
3 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters