You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.textile
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,10 @@ h3. You should know:
105
105
- @bool Thread::shouldRun()@ := Returns true, if the Thread should be runned. (Basicaly, the logic is: (reached time AND is enabled?).
106
106
- @void Thread::onRun(void (*callback)(void))@ := The target callback function to be called.
107
107
- @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
+
108
112
109
113
- @void ThreadController::run()@ := This will run the all @Threads@ within the @ThreadController@, only if needed (if shouldRun returns true);
110
114
- @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:
115
119
- @Thread* ThreadController::get(int index)@ := Returns the Thread on the position @index@.
116
120
117
121
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()@.
0 commit comments