projects
/
simpleserver-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
952e599
)
Use only perl_clone if USE_ITHREADS is defined
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 29 May 2004 07:04:26 +0000
(07:04 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 29 May 2004 07:04:26 +0000
(07:04 +0000)
SimpleServer.xs
patch
|
blob
|
history
diff --git
a/SimpleServer.xs
b/SimpleServer.xs
index
f3cd24b
..
9e27621
100644
(file)
--- a/
SimpleServer.xs
+++ b/
SimpleServer.xs
@@
-1,5
+1,5
@@
/*
- * $Id: SimpleServer.xs,v 1.25 2004-05-14 04:07:50 adam Exp $
+ * $Id: SimpleServer.xs,v 1.26 2004-05-29 07:04:26 adam Exp $
* ----------------------------------------------------------------------
*
* Copyright (c) 2000-2004, Index Data.
@@
-118,6
+118,7
@@
int tst_clones(void)
#endif
int simpleserver_clone(void) {
+#ifdef USE_ITHREADS
nmem_mutex_enter(simpleserver_mutex);
if (1)
{
@@
-135,6
+136,7
@@
int simpleserver_clone(void) {
}
}
nmem_mutex_leave(simpleserver_mutex);
+#endif
return 0;
}