Commit Graph

12 Commits

Author SHA1 Message Date
Steven Dake
a4bf2f872d update to new totem code.
(Logical change 1.117)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@410 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Mark Haverkamp
37c27a4f35 add in missing mutex unlock
(Logical change 1.116)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@406 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-11 16:59:10 +00:00
Kristen Smith
fa9850561e I was running into a problem where the evt api appeared to be getting into a
deadlock situtation. The problem would occur when I would kill aisexec
while my program was running (using EVT and CLM apis). My program is
multi-threaded where 1 thread is calling evtDispatch and other threads
can be calling evtPublish at various times. The problem I ran into is when I
killed aisexec, the evtDispatch would take a lock, but never give it back.
At the same time, my sending thread would call evtPublish which would take
the lock and hang since evtDispatch never gave up the lock it took.

The fix was to add a few unlocks in evt.c where they appeared to be missing.
Here is the info:

1) line 504 in evt.c (lib dir) calls

pthread_mutex_unlock(&evti->ei_mutex);
goto error_unlock;

2) There are subsequent calls to goto error_unlock in later error statements
that do not unlock the mutex before the goto call - the lines are 534 and 541

Adding the unlock right before the goto @ 534 and @ 541 fixes the deadlock
for my scenario.

Kristen Smith
Nortel Networks

(Logical change 1.110)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@394 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-07 17:28:29 +00:00
Steven Dake
7e14a7632e fix double ;; which causes gcc 2.95 to fail to compile
(Logical change 1.108)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@390 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-24 23:48:25 +00:00
Mark Haverkamp
f370d6961e Fix some compiler warnings with gcc 3.4
(Logical change 1.93)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@335 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-12 21:59:46 +00:00
Mark Haverkamp
f2671ba36b Remove some old TODO comments.
(Logical change 1.84)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@303 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:14 +00:00
Mark Haverkamp
7f324361a7 Development, updates, and bug fixes to event service lib.
(Logical change 1.63)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@231 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-02 17:16:25 +00:00
Steven Dake
b1e08f10a5 Add flow control to eventing.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@182 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Mark Haverkamp
21f537641e Fix compiler warning
(Logical change 1.50)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@155 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-30 17:51:32 +00:00
Mark Haverkamp
aa5a8389ef Fix queue items memory leak.
(Logical change 1.49)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@153 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-30 17:49:14 +00:00
Mark Haverkamp
cba04f10c5 (Logical change 1.46)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@135 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
9dc4b066ad Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@134 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:42 +00:00