Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-02-23 15:58:10 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-03-16 13:21:44 +0300
commitd18a3b15a7f2201fc6e175f5a23d2426c4cea5c7 (patch)
treeeb737d9b3608ead46775c8da2cb8ad58e14b6fd3 /include
parentbb4719390b20944395e6a62522d395f0228fa3da (diff)
Begin dynamic_thread_pool_group benchmark program.
Diffstat (limited to 'include')
-rw-r--r--include/llfio/v2.0/detail/impl/dynamic_thread_pool_group.ipp4
-rw-r--r--include/llfio/v2.0/detail/impl/posix/statfs.ipp1
2 files changed, 3 insertions, 2 deletions
diff --git a/include/llfio/v2.0/detail/impl/dynamic_thread_pool_group.ipp b/include/llfio/v2.0/detail/impl/dynamic_thread_pool_group.ipp
index df10efcb..8d54c52a 100644
--- a/include/llfio/v2.0/detail/impl/dynamic_thread_pool_group.ipp
+++ b/include/llfio/v2.0/detail/impl/dynamic_thread_pool_group.ipp
@@ -1893,7 +1893,7 @@ namespace detail
if(workitem->_timepoint1 - now > std::chrono::seconds(0))
{
// Timer fired short, so schedule it again
- _submit_work_item(g, workitem, false);
+ _submit_work_item(g, true, false, workitem, false);
return;
}
#endif
@@ -1906,7 +1906,7 @@ namespace detail
if(workitem->_timepoint2 - now > std::chrono::seconds(0))
{
// Timer fired short, so schedule it again
- _submit_work_item(g, workitem, false);
+ _submit_work_item(g, true, false, workitem, false);
return;
}
#endif
diff --git a/include/llfio/v2.0/detail/impl/posix/statfs.ipp b/include/llfio/v2.0/detail/impl/posix/statfs.ipp
index c8455ef6..2e3b0859 100644
--- a/include/llfio/v2.0/detail/impl/posix/statfs.ipp
+++ b/include/llfio/v2.0/detail/impl/posix/statfs.ipp
@@ -340,6 +340,7 @@ LLFIO_HEADERS_ONLY_MEMFUNC_SPEC result<size_t> statfs_t::fill(const handle &h, s
LLFIO_HEADERS_ONLY_MEMFUNC_SPEC result<std::pair<uint32_t, float>> statfs_t::_fill_ios(const handle &h, const std::string & /*unused*/) noexcept
{
+ (void) h;
try
{
#ifdef __linux__