improve queuing logic of inactive torrents (dont_count_slow_torrents)

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9968 a83610d8-ad2a-0410-a6ab-fc0612d85776
downloaders only consider download threshold and seeds only consider upload thresholds, for determining whether a torrent is considered inactive or not

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9969 a83610d8-ad2a-0410-a6ab-fc0612d85776
INT16_MIN and INT16_MAX macros for windows

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9971 a83610d8-ad2a-0410-a6ab-fc0612d85776
revert mistake in queuing logic

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9972 a83610d8-ad2a-0410-a6ab-fc0612d85776
add workaround for GCC bug in MingW (broken support for PVOID64) and improve resiliency of storage

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9973 a83610d8-ad2a-0410-a6ab-fc0612d85776
added clear_piece_deadlines() to remove all piece deadlines

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9975 a83610d8-ad2a-0410-a6ab-fc0612d85776
support for older boost versions

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9976 a83610d8-ad2a-0410-a6ab-fc0612d85776
attempt to fix linux build

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9977 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix to the fix

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9978 a83610d8-ad2a-0410-a6ab-fc0612d85776
documentation fixes, and remove debug dependency on file_pool structure layout

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9979 a83610d8-ad2a-0410-a6ab-fc0612d85776
documentation fixes and remove debug dependency on hasher

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/branches/libtorrent_aio@9980 a83610d8-ad2a-0410-a6ab-fc0612d85776
merged changes from trunk

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/branches/libtorrent_aio@9982 a83610d8-ad2a-0410-a6ab-fc0612d85776
move inter-thread call boilerplate to a separate file
Merge remote-tracking branch 'sf-svn/libtorrent_aio' into rep_manager