forked from premiere/premiere-libtorrent
remove inaccurate comment about deadlocking in torrent_handle
This commit is contained in:
parent
c3347de3bf
commit
d7a3b05fdc
|
@ -1230,11 +1230,8 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
|
|
||||||
// This function is intended only for use by plugins and the alert
|
// This function is intended only for use by plugins and the alert
|
||||||
// dispatch function. Any code that runs in libtorrent's network thread
|
// dispatch function. This type does not have a stable API and should
|
||||||
// may not use the public API of torrent_handle. Doing so results in a
|
// be relied on as little as possible.
|
||||||
// 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.
|
|
||||||
boost::shared_ptr<torrent> native_handle() const;
|
boost::shared_ptr<torrent> native_handle() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue