Adds support for running code on the second processor core (core1)
More...
#include <PicoThread.h>
|
bool | isRunning () |
| check if the core1 has been started and is not stoped
|
|
bool | start (ThreadCB callback, void *ptr=nullptr) |
| Run code on core 1 - we can pass a reference to an object which will be given to the callback as argument.
|
|
void | stop () |
| resets the core 1
|
|
|
static void | callback_handler () |
|
|
bool | started (int flag=-1) |
|
|
static ThreadCB | staticCallback (ThreadCB cb=nullptr) |
|
static void * | staticPtr (void *ptr=nullptr) |
|
Adds support for running code on the second processor core (core1)
- Author
- Phil Schatzmann
- Copyright
- GPLv3
The documentation for this class was generated from the following file: