premiere-libtorrent/bindings/python
Steven Siloti 0232dc35cd deprecate lock_files (#2344)
File locking interacts poorly with the path to replace a read only file handle
with a read/write one. For performance reasons the old handle is not closed
until the new one is put in place. With file locking this obviously cannot
work because the first handle is holding a lock on the file. As a result,
file_pool::open_file fails in this case. Even if we dropped the reference to
the read only file handle before attempting to re-open it, the open could still
fail if another thread is holding a reference to the read only handle.

There doesn't seem to be a good way around this. The simple solution would be
to always open files in read/write mode, but that has obvious safety downsides.
Any other solution would significantly complicate the file pool code.
Deprecating file locking seems to be the least bad option.
2017-09-17 10:43:27 +02:00
..
src deprecate lock_files (#2344) 2017-09-17 10:43:27 +02:00
Jamfile build boost from scratch on linux (to get a newer version). upgrade travis to trusty and newer xcode. python binding fixes 2017-08-14 12:22:06 +02:00
Makefile.am remove rss_reader.py, since rss has been reprecated. fix python binding for torrent_handle, to be hashable. update client_test.py to not use deprecated APIs and follow best (libtorrent) practice 2017-09-11 22:28:57 +02:00
client.py merged RC_1_1 2017-09-12 00:22:55 +02:00
compile_cmd.in remove configure.ac hack where supposed arguments are spliced out of CXX into CXXFLAGS 2017-08-08 08:50:13 +02:00
compile_flags.in Add missing announce_entry properties to python bindings 2017-02-11 08:07:43 -05:00
link_flags.in more robust flags parsing in python bindings 2016-02-15 15:19:37 -08:00
make_torrent.py Fix python client (#1512) 2017-01-24 08:50:36 -05:00
setup.py bump version 2017-09-04 15:35:45 +02:00
simple_client.py Fix python client (#1512) 2017-01-24 08:50:36 -05:00
test.py merged RC_1_1 2017-09-12 00:22:55 +02:00