Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types | Public Member Functions | Static Public Member Functions
caffe2::Worker Class Reference

Public Types

enum  State : uint8_t { ThreadStartup, Ready, HasWork, ExitAsSoonAsPossible }
 

Public Member Functions

 Worker (BlockingCounter *counter_to_decrement_when_ready)
 
void ChangeState (State new_state)
 
void ThreadFunc ()
 
void StartWork (Task *task)
 

Static Public Member Functions

static void * ThreadFunc (void *arg)
 

Detailed Description

Definition at line 232 of file WorkersPool.h.


The documentation for this class was generated from the following file: