On 8/3/24 12:21 PM, Jaak Ristioja wrote:
Libsword does not well lend itself to certain tasks, and some are
impossible. For example, there is still no reliable way for users to
abort module installation/download in a thread-safe manner. Working
around such libsword shortcomings without changing libsword is not
worth the effort.
Hi Jaak,
libsword provides for a thread to request termination of a transfer with
InstallMgr::terminate():
https://github.com/bibletime/crosswire-sword-mirror/blob/trunk/include/installmgr.h#L297-L301
Best regards,
Jaak
PS: Module handling would certainly have been simpler, more nimble and
less code, if every module were a single file and repositories would
have a single index file.
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page