mirror of
https://github.com/wassname/ray.git
synced 2026-07-22 13:00:49 +08:00
* draft of local scheduler * API * update APIs * fix * update * Rename halo -> photon. * Add build directory. * Update common submodule. * More renaming. * Fix python ctypes. * Compile in travis. * Process generic messages and not just tasks. * Move free outside of switch. * Formatting and address comments. * Remove event loop from local scheduler state. * Use accept_client from common. * Use bind_ipc_sock from common. * Fix tests. * Update common submodule. * Fix formatting.
15 lines
270 B
C
15 lines
270 B
C
#ifndef PHOTON_H
|
|
#define PHOTON_H
|
|
|
|
enum photon_message_type {
|
|
/** Notify the local scheduler that a task has finished. */
|
|
TASK_DONE = 64,
|
|
};
|
|
|
|
struct photon_conn_impl {
|
|
/* File descriptor of the Unix domain socket that connects to photon. */
|
|
int conn;
|
|
};
|
|
|
|
#endif
|