mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
Fix seed bug for generating object ids for put (#120)
* fix seed bug for generating object ids for put * fix clang-format
This commit is contained in:
committed by
Robert Nishihara
parent
24d2b42d86
commit
2152cd9f31
@@ -220,6 +220,15 @@ int64_t task_args_add_val(task_spec *spec, uint8_t *data, int64_t length);
|
||||
*/
|
||||
object_id task_return(task_spec *spec, int64_t return_index);
|
||||
|
||||
/**
|
||||
* Compute the object id associated to a put call.
|
||||
*
|
||||
* @param task_id The task id of the parent task that called the put.
|
||||
* @param put_index The number of put calls in this task so far.
|
||||
* @return The object ID for the object that was put.
|
||||
*/
|
||||
object_id task_compute_put_id(task_id task_id, int64_t put_index);
|
||||
|
||||
/**
|
||||
* Free a task_spec.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user