Data that should be passed to each processing thread. Contains unique per-thread data and some parent data including pointer to the Layers_Processor. More...
#include <Layers_Processor.h>

Public Attributes | |
| int | layer |
| Layer index the given thread is processing until the next suspend state. | |
| int | neuron |
| Neuron index inside a previously defined layer the given thread is supposed to start processing with. | |
| int | increment |
| Currently equal to threads_count passed to Layers_Processor constructor, used as a value neuron index is incremented each time when neuron calculation is finished. | |
| bool | terminate |
| Thread termination flag. When raised thread is finishing its calculations and terminates gracefully. | |
| Self_Lock * | lock |
| Synchronization object that belongs to the parent class (thread). Used by the parent to lock itself giving a possibility to unlock it to the sibling threads (please see Self_Lock class). | |
| Self_Lock * | thread_lock |
| Synchronization object that belongs to the given thread. Used by the thread to lock itself after completing calculations for a layer giving a possibility to unlock it to the parent thread to process the next layer (please see Self_Lock class). | |
| Self_Lock * | thread_termination_lock |
| Synchronization object that belongs to the parent class (thread). Used by the parent to lock itself while waiting for the child thread to terminate gracefully (please see Self_Lock class). | |
| Layers_Processor * | layers_processor |
| Pointer to the parent. | |
Data that should be passed to each processing thread. Contains unique per-thread data and some parent data including pointer to the Layers_Processor.