projects
/
pazpar2-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:
38f63bc
)
Removed commented out sleep. Add TODO on threading issue
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 12 Apr 2011 11:13:42 +0000
(13:13 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 12 Apr 2011 11:13:42 +0000
(13:13 +0200)
src/client.c
patch
|
blob
|
history
diff --git
a/src/client.c
b/src/client.c
index
2dced61
..
0eee31c
100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-472,6
+472,7
@@
void client_check_preferred_watch(struct client *cl)
if (se)
{
client_unlock(cl);
+ /* TODO possible threading issue. Session can have been destroyed */
if (session_is_preferred_clients_ready(se)) {
session_alert_watch(se, SESSION_WATCH_SHOW_PREF);
}
@@
-787,9
+788,6
@@
void client_lock(struct client *c)
void client_unlock(struct client *c)
{
yaz_mutex_leave(c->mutex);
- /* TODO possible threading issue
- sleep(1);
- */
}
void client_incref(struct client *c)