From a2a62c4110a6bb15470e903b7bd73c7a8ff9cef6 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 16 Mar 2012 13:44:58 +0000 Subject: Update multi-threaded documentation in light of bug 692925. State that contexts are baked into devices, and devices used with document should share the same context. --- doc/overview.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/overview.txt b/doc/overview.txt index 65fe776b..a0074b77 100644 --- a/doc/overview.txt +++ b/doc/overview.txt @@ -214,9 +214,18 @@ multi-threaded operations run smoothly: All subsequent accesses to the document implicitly use the same context; this means that only 1 thread can ever be accessing the document at once. This does not mean that the document can - only be used from one thread ever, though in many cases this + only ever be used from one thread, though in many cases this is the simplest structure overall. +3) "Any device is bound to the context with which it is created." + + All subsequent uses of a device implicitly use the context with + which it was created; this means that if a device is used with + a document, it should be created with the same context as that + document was. This does not mean that the device can only ever + be used from one thread, though in many cases this is the + simplest structure overall. + So, how does a multi-threaded example differ from a non-multithreaded one? -- cgit v1.2.3