mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
Introduce non-blocking Plasma API. (#71)
* Implement new plasma client API. * Formatting fixes. * Make tests work again. * Make tests run. * Comment style. * Fix bugs with fetch tests. * Introduce fetch1 flag. * Remove timer only if present. * Formatting fixes. * Don't access object after free. * Formatting fixes. * Minor change. * refactoring plasma datastructures * Change plasma_request and plasma_reply to use only arrays of object requests. * some more fixes * Remove unnecessary methods. * Trivial. * fixes * use plasma_send_reply in return_from_wait1 * Lint.
This commit is contained in:
@@ -402,7 +402,7 @@ void redis_object_table_subscribe_lookup(redisAsyncContext *c,
|
||||
if (reply->elements > 0) {
|
||||
CHECK(reply->element[0]->len == UNIQUE_ID_SIZE);
|
||||
/* Check that the reply corresponds to the right object ID. */
|
||||
CHECK(strncmp(reply->element[0]->str, callback_data->id.id,
|
||||
CHECK(strncmp(reply->element[0]->str, (char *) callback_data->id.id,
|
||||
UNIQUE_ID_SIZE));
|
||||
object_table_subscribe_data *data = callback_data->data;
|
||||
if (data->object_available_callback) {
|
||||
|
||||
Reference in New Issue
Block a user