made disk_io_settings be synchronized through the job queue

This commit is contained in:
Arvid Norberg
2009-01-10 05:46:02 +00:00
parent c21edfa6f1
commit cfd116ffad
5 changed files with 43 additions and 20 deletions

View File

@@ -89,6 +89,7 @@ namespace libtorrent
, abort_thread
, clear_read_cache
, abort_torrent
, update_settings
};
action_t action;
@@ -186,8 +187,6 @@ namespace libtorrent
, std::vector<cached_piece_info>& ret) const;
cache_status status() const;
void set_cache_size(int s);
void set_cache_expiry(int ex);
void operator()();