mirror of
https://github.com/wassname/ray.git
synced 2026-07-19 11:27:32 +08:00
Windows compatibility (#57)
* Add Python and Redis submodules, and remove old third-party modules
* Update VS projects (WARNING: references files that do not exist yet)
* Update code & add shims for APIs except AF_UNIX/{send,recv}msg()
* Minor style changes.
This commit is contained in:
committed by
Robert Nishihara
parent
a93c6b7596
commit
7237ec4124
+1
-1
@@ -114,7 +114,7 @@ task_id compute_task_id(task_spec *spec) {
|
||||
|
||||
object_id compute_return_id(task_id task_id, int64_t return_index) {
|
||||
/* TODO(rkn): This line requires object and task IDs to be the same size. */
|
||||
object_id return_id = (object_id) task_id;
|
||||
object_id return_id = task_id;
|
||||
int64_t *first_bytes = (int64_t *) &return_id;
|
||||
/* XOR the first bytes of the object ID with the return index. We add one so
|
||||
* the first return ID is not the same as the task ID. */
|
||||
|
||||
Reference in New Issue
Block a user