projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8258ebd
)
* src/toolbox/list.c (list_create): Use LOCK_INIT_OBJECT_LOCK-macro.
author
twisti
<none@none>
Fri, 18 May 2007 14:22:19 +0000
(14:22 +0000)
committer
twisti
<none@none>
Fri, 18 May 2007 14:22:19 +0000
(14:22 +0000)
src/toolbox/list.c
patch
|
blob
|
history
diff --git
a/src/toolbox/list.c
b/src/toolbox/list.c
index 06f4d4243557ffbcc051f206774c5a9d783c1505..6b391bab4537464d44623a99cacba3a9aab8f2da 100644
(file)
--- a/
src/toolbox/list.c
+++ b/
src/toolbox/list.c
@@
-22,7
+22,7
@@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: list.c 79
05 2007-05-14 14:11:33
Z twisti $
+ $Id: list.c 79
15 2007-05-18 14:22:19
Z twisti $
*/
@@
-52,9
+52,7
@@
list_t *list_create(s4 nodeoffset)
l = NEW(list_t);
-#if defined(ENABLE_THREADS)
- lock_init_object_lock((java_objectheader *) l);
-#endif
+ LOCK_INIT_OBJECT_LOCK(l);
l->first = NULL;
l->last = NULL;