-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
bugSomething isn't workingSomething isn't workingqualityImprove the quality of the codeImprove the quality of the code
Description
Why?
Currently, mupdf-rs supports the Cookie
struct which is designed to be sent across threads and locked by the inner locks initialized in the main context.
The Cookie
struct can be used to abort a current rendering session on another thread by setting the abort flag.
The problem is that the Cookie
struct in mupdf-rs is just a wrapper struct holding a raw mut pointer which implements the !Send
trait which means that it cannot be used across multiple threads without using unsafe
.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingqualityImprove the quality of the codeImprove the quality of the code