projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f9a496
)
unposixfy calls to TSRM
author
Sascha Schumann
<sas@php.net>
Fri, 26 Nov 1999 19:27:08 +0000
(19:27 +0000)
committer
Sascha Schumann
<sas@php.net>
Fri, 26 Nov 1999 19:27:08 +0000
(19:27 +0000)
main/reentrancy.c
patch
|
blob
|
history
diff --git
a/main/reentrancy.c
b/main/reentrancy.c
index 2fc32f6e46829b4801c0191ec3e37ffce96076db..2d10618c4c8b92736812e7ae981964e58734ac27 100644
(file)
--- a/
main/reentrancy.c
+++ b/
main/reentrancy.c
@@
-124,7
+124,7
@@
void reentrancy_startup(void)
int i;
for (i = 0; i < NUMBER_OF_LOCKS; i++) {
-
tsrm_mutex_init(reentrant_locks[i]
);
+
reentrant_locks[i] = tsrm_mutex_alloc(
);
}
}
@@
-133,7
+133,7
@@
void reentrancy_shutdown(void)
int i;
for (i = 0; i < NUMBER_OF_LOCKS; i++) {
- tsrm_mutex_
destroy
(reentrant_locks[i]);
+ tsrm_mutex_
free
(reentrant_locks[i]);
}
}