mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

* Restructure to have separate client and scheduler files. Shared stuff is in photon.h. * Let workers get tasks from local scheduler.
14 lines
334 B
C
14 lines
334 B
C
#ifndef PHOTON_H
|
|
#define PHOTON_H
|
|
|
|
enum photon_message_type {
|
|
/** Notify the local scheduler that a task has finished. */
|
|
TASK_DONE = 64,
|
|
/** Get a new task from the local scheduler. */
|
|
GET_TASK,
|
|
/** This is sent from the local scheduler to a worker to tell the worker to
|
|
* execute a task. */
|
|
EXECUTE_TASK,
|
|
};
|
|
|
|
#endif
|