Fix session list deadlock
authorDavid Goulet <david.goulet@polymtl.ca>
Mon, 3 Oct 2011 19:23:16 +0000 (15:23 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Mon, 3 Oct 2011 19:23:16 +0000 (15:23 -0400)
commit271933a4d7438f73f1487842bb18b2442ceaec48
treef6d397ce2fdd4f009e02a0e5a036eb5b174a9af9
parent5f822d0a2688bb0b085b579dfc37a1958fff072e
Fix session list deadlock

On session destroy, the session list lock is acquired but this call
could be made inside a section where this lock is already acquired. The
call has been changed to using the session pointer and not the name thus
removing a useless list walk.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c
ltt-sessiond/session.c
ltt-sessiond/session.h
tests/test_sessions.c
This page took 0.033746 seconds and 4 git commands to generate.