Skip to content

Commit 8916b74

Browse files
committed
everything is important
1 parent c1ea3df commit 8916b74

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.textile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ h3. You should know:
105105
- @bool Thread::shouldRun()@ := Returns true, if the Thread should be runned. (Basicaly, the logic is: (reached time AND is enabled?).
106106
- @void Thread::onRun(void (*callback)(void))@ := The target callback function to be called.
107107
- @void Thread::run()@ := This will run the Thread (call the callback function).
108+
- @int Thread::ThreadID@ := Theoretically, it's the address of memory. It's unique, and can be used to compare if two threads are identical.
109+
- @int Thread::ThreadName@ := A human-redable thread name. Default is "Thread ThreadID" eg.: "Thread 141515";
110+
- protected: @void Thread::runned()@ := Used to reset internal timer of the Thread. This is automaticaly called AFTER a call to @run()@.
111+
108112

109113
- @void ThreadController::run()@ := This will run the all @Threads@ within the @ThreadController@, only if needed (if shouldRun returns true);
110114
- @bool ThreadController::add(Thread* _thread)@ := This will add a the thread to the ThreadController, and return @true@ if suceeded (it the array is full, returns false).
@@ -115,10 +119,7 @@ h3. You should know:
115119
- @Thread* ThreadController::get(int index)@ := Returns the Thread on the position @index@.
116120

117121
h3. You don't need to know:
118-
119-
- @int Thread::ThreadID@ := Theoretically, it's the address of memory. It's unique, and can be used to compare if two threads are identical.
120-
- @int Thread::ThreadName@ := A human-redable thread name. Default is "Thread ThreadID" eg.: "Thread 141515";
121-
- protected: @void Thread::runned()@ := Used to reset internal timer of the Thread. This is automaticaly called AFTER a call to @run()@.
122+
- Nothing, yet ;)
122123

123124
h2. Version History
124125

0 commit comments

Comments
 (0)