Skip to content

Commit 64ad067

Browse files
committed
* readme
1 parent f4de52c commit 64ad067

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,4 @@ Or use the convenience API for compile+render via one method call:
144144

145145
###Threading Considerations
146146

147-
The `TDTemplateEngine` class is ***NOT* Thread-Safe**. You must create and use each `TDTemplateEngine` object *only on a single thread*. However, this need not be the main thread. It may be done a background thread if you like. Also, you must not create more than one `TDTemplateEngine` per thread.
148-
149-
So, the relationship should be **1 Thread to 1 TDTemplateEngine**.
150-
151-
Or, alternatively: **1 GCD Queue to 1 TDTemplateEngine**.
152-
153-
This is actually a very simple and straighforward way to use the library. In practice, you will probably create a single GCD Queue (or `NSThread`) per `TDTemplateEngine`. The template engine should be created on, and accessed from its own GCD Queue (or `NSThread`) *ONLY*.
147+
**The `TDTemplateEngine` class is *NOT* thread-safe**. Each `TDTemplateEngine` object must be created on and receive messages on *only one thread*. However, this need not be the main thread. It may be done on a background thread if you like. In fact, it's probably best to restrict creation and usage of a `TDTemplateEngine` object to a **background** thread.

0 commit comments

Comments
 (0)