-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathcoupling.h
More file actions
30 lines (28 loc) · 1.16 KB
/
Copy pathcoupling.h
File metadata and controls
30 lines (28 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* File: coupling.h
* Author: Vincent Gramoli <vincent.gramoli@sydney.edu.au>,
* Vasileios Trigonakis <vasileios.trigonakis@epfl.ch>
* Description: hand-over-hand locking list
* (Details: Maurice Herlihy and Nir Shavit. The Art of
* Multiprocessor Programming, Revised First Edition. 2012.)
* coupling.h is part of ASCYLIB
*
* Copyright (c) 2014 Vasileios Trigonakis <vasileios.trigonakis@epfl.ch>,
* Tudor David <tudor.david@epfl.ch>
* Distributed Programming Lab (LPD), EPFL
*
* ASCYLIB is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2
* of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#include "linkedlist-lock.h"
sval_t lockc_delete(intset_l_t* set, skey_t key);
sval_t lockc_find(intset_l_t* set, skey_t key);
int lockc_insert(intset_l_t* set, skey_t key, sval_t val);