This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
functions:newtid [2017/03/19 18:20] – korshun | functions:newtid [2017/03/19 18:21] – korshun | ||
---|---|---|---|
Line 19: | Line 19: | ||
==== The solution ==== | ==== The solution ==== | ||
- | NewTid is a function designed to solve both these problems. To use NewTid, you first specify the first tid it may allocate using a global #define in your project: | + | NewTid is a function designed to solve both these problems. To use NewTid, you first specify the first tid it may allocate using a global #define in your project, for example: |
< | < | ||
Line 33: | Line 33: | ||
int tid = NewTid(); | int tid = NewTid(); | ||
Spawn(" | Spawn(" | ||
- | < | + | </code> |