forked from ray-project/ray-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make plasma robust wrt to number of open file descriptors (ray-projec…
- Loading branch information
1 parent
13560bd
commit 0198a0d
Showing
6 changed files
with
140 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef PLASMA_CLIENT_H | ||
#define PLASMA_CLIENT_H | ||
|
||
/* Connect to the local plasma store UNIX domain socket with path socket_name | ||
* and return the resulting connection. */ | ||
plasma_store_conn *plasma_store_connect(const char *socket_name); | ||
|
||
/* Connect to a possibly remote plasma manager */ | ||
int plasma_manager_connect(const char *addr, int port); | ||
|
||
void plasma_create(plasma_store_conn *conn, | ||
plasma_id object_id, | ||
int64_t size, | ||
uint8_t *metadata, | ||
int64_t metadata_size, | ||
uint8_t **data); | ||
|
||
void plasma_get(plasma_store_conn *conn, | ||
plasma_id object_id, | ||
int64_t *size, | ||
uint8_t **data, | ||
int64_t *metadata_size, | ||
uint8_t **metadata); | ||
|
||
void plasma_seal(plasma_store_conn *conn, plasma_id object_id); | ||
|
||
#endif |
Oops, something went wrong.