Merge pull request #16 from ssiloti/master

remove inaccurate comment about deadlocking in torrent_handle
This commit is contained in:
Arvid Norberg 2015-06-27 16:13:53 -04:00
commit cd613e3555
1 changed files with 2 additions and 5 deletions

View File

@ -1230,11 +1230,8 @@ namespace libtorrent
}
// This function is intended only for use by plugins and the alert
// dispatch function. Any code that runs in libtorrent's network thread
// may not use the public API of torrent_handle. Doing so results in a
// dead-lock. For such routines, the ``native_handle`` gives access to
// the underlying type representing the torrent. This type does not have
// a stable API and should be relied on as little as possible.
// dispatch function. This type does not have a stable API and should
// be relied on as little as possible.
boost::shared_ptr<torrent> native_handle() const;
private: