fixed bug in storage::read()
This commit is contained in:
@@ -163,7 +163,7 @@ int main(int argc, char* argv[])
|
|||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
|
|
||||||
// TEMPORARY
|
// TEMPORARY
|
||||||
// boost::filesystem::path::default_name_check(boost::filesystem::no_check);
|
boost::filesystem::path::default_name_check(boost::filesystem::no_check);
|
||||||
|
|
||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
{
|
{
|
||||||
|
@@ -294,12 +294,11 @@ namespace libtorrent
|
|||||||
|
|
||||||
boost::filesystem::path m_save_path;
|
boost::filesystem::path m_save_path;
|
||||||
|
|
||||||
// synchronization
|
|
||||||
boost::mutex m_locked_pieces_monitor;
|
|
||||||
boost::condition m_unlocked_pieces;
|
|
||||||
std::vector<bool> m_locked_pieces;
|
|
||||||
|
|
||||||
mutable boost::recursive_mutex m_mutex;
|
mutable boost::recursive_mutex m_mutex;
|
||||||
|
|
||||||
|
bool m_allocating;
|
||||||
|
boost::mutex m_allocating_monitor;
|
||||||
|
boost::condition m_allocating_condition;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user