-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert plasma client array and object notification queue to STL #482
Convert plasma client array and object notification queue to STL #482
Conversation
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build finished. Test PASSed. |
Test PASSed. |
src/plasma/plasma_store.cc
Outdated
@@ -28,6 +28,7 @@ | |||
#include <unordered_map> | |||
#include <unordered_set> | |||
#include <vector> | |||
#include <deque> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should be in alphabetical order.
@@ -72,7 +69,7 @@ typedef struct { | |||
int subscriber_fd; | |||
/** The object notifications for clients. We notify the client about the | |||
* objects in the order that the objects were sealed or deleted. */ | |||
UT_array *object_notifications; | |||
std::deque<uint8_t *> *object_notifications; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we make this not a pointer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the next PR where I make the pending_notifications an STL hashmap ;)
Merged build finished. Test PASSed. |
Test PASSed. |
Contains the STL conversion of @atumanov for the object notification queue in
atumanov@2007ae1