Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
fixup! [LibOS] Rework IDs management
Browse files Browse the repository at this point in the history
Signed-off-by: Borys Popławski <borysp@invisiblethingslab.com>
  • Loading branch information
boryspoplawski committed Jun 28, 2021
1 parent 14a6ffe commit a08ea51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LibOS/shim/include/shim_ipc.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ int ipc_release_id_range_callback(IDTYPE src, void* data, uint64_t seq);
* - each of these ranges must be freed separately, e.g.
* `ipc_release_id_range(5, 5); ipc_release_id_range(1, 4); ipc_release_id_range(6, 10);`
* is ok to do, but `ipc_release_id_range(5, 10);` is not.
* Theoretically speaking any process can free any range (as long as each range is freed only once),
* but in the current implementation a process frees only ranges it owns.
*/
int ipc_change_id_owner(IDTYPE id, IDTYPE new_owner);
int ipc_change_id_owner_callback(IDTYPE src, void* data, uint64_t seq);
Expand Down

0 comments on commit a08ea51

Please sign in to comment.