projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8072bda
)
reduce the number of spins...functions that call lock are taking a long time
author
bdemsky
<bdemsky>
Wed, 6 Aug 2008 06:01:36 +0000
(06:01 +0000)
committer
bdemsky
<bdemsky>
Wed, 6 Aug 2008 06:01:36 +0000
(06:01 +0000)
Robust/src/Runtime/DSTM/interface/sockpool.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/DSTM/interface/sockpool.c
b/Robust/src/Runtime/DSTM/interface/sockpool.c
index 85edcf2f07da6068415112fd273df701e24db650..91ac3fc0a1d6b27f74118795bc7dc83f9b803e5c 100644
(file)
--- a/
Robust/src/Runtime/DSTM/interface/sockpool.c
+++ b/
Robust/src/Runtime/DSTM/interface/sockpool.c
@@
-21,7
+21,7
@@
inline void UnLock(volatile unsigned int *addr) {
# error need implementation of test_and_set
#endif
-#define MAXSPINS 100
0
+#define MAXSPINS 100
inline void Lock(volatile unsigned int *s) {
while(test_and_set(s)) {