View Single Post
Old 08-30-2014, 12:03 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,482
Karma: 28000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You absolutely should not be accessing the library in driver code. It runs in a separate thread. While the library API post calibre 1.0 is thread safe, it is still not a good idea.

To implement this would require changing a fair bit of calibre internals, not just the Kindle driver.
kovidgoyal is offline   Reply With Quote