Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/threads-ffi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaiyu Yang <yangky11@outlook.com>2015-10-04 08:44:49 +0300
committerKaiyu Yang <yangky11@outlook.com>2015-10-04 08:44:49 +0300
commit267759ad5899ddd3f5799f378880a7f67163efaa (patch)
treeb1ffa86293e3f8bedca362da6451ca70e317b4f5
parentb3d8fb70bf573c5d4c3818e9b6b7c573a03829d5 (diff)
format
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index fb13838..015c2f9 100644
--- a/README.md
+++ b/README.md
@@ -205,11 +205,11 @@ threads.Threads(4,
)
```
-Note that the id of each thread is also stored into the global variable `__threadid` (in each thread Lua state).
+Note that the id of each thread is also stored into the global variable `__threadid` (in each thread Lua state).
Special notice about upvalues:
-When a child deserialize a callback, all the upvalues in it must be of known types. Since the callbacks in threads.Threads are deserialized in order,
-we suggest that you make a separated f1 containing all the definitions and put the other code in f2,f3,...
-For example
+When deserializing a callback, upvalues in that callback must be of known types. Since f1,f2,... in [threads.Threads](#threads.Threads) are deserialized in order,
+we suggest that you make a separated f1 containing all the definitions and put the other code in f2,f3,...
+e.g.
```
require 'nn'
local threads = require 'threads'