FS-10167: Added ks_list_delete_iterator() to delete the node at the current iterator position (only if available if iterator is active). Updated blade_session to reflect ks_list_t being internally thread-safe now.

This commit is contained in:
Shane Bryldt committed 2017-04-14 12:32:13 -06:00
1 parent f3aad1a661
commit 5d82a1b2e2
4 files changed
+39 -45

No files matched your search

+8
View File
@@ -471,6 +471,14 @@ extern "C" {
*/
KS_DECLARE(int) ks_list_delete_at(ks_list_t *restrict l, unsigned int pos);
/**
* expunge an element at the current iterator position from the list.
*
* @param l list to operate
* @return 0 on success. Negative value on failure
*/
KS_DECLARE(int) ks_list_delete_iterator(ks_list_t *restrict l);
/**
* expunge an array of elements from the list, given their position range.
*