Commit Graph

16 Commits

Author SHA1 Message Date
Mark Haverkamp
d330f32d78 The A spec required patterns to be set but the B
spec doesn't.  Fix lib/evt.c and test/testevt.c



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@708 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-23 14:44:29 +00:00
Mark Haverkamp
217207babb Some fixes to the event service based on the saftest event
tests results.  

The changes may affect applications currently using the event service. 

1. Timeout value to the saEvtChannelOpen call was updated to use
SA_TIME_MAX instead of 0 for infinite timeout.

2. added cleanup in the library to remove associated events when a
channel is closed, and remove associated channels when finalize is
called.

3. Added some new checking args for NULL and returning the correct error
code.

4. fixed dispatch to return correct status with SA_DISPATCH_ONE and no
available poll data.

5. Makefile had bad dependency for evt library build.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@706 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-21 22:19:03 +00:00
Mark Haverkamp
1f1f048efc Fix version handling code to be B spec compliant.
BUG 623.

(Logical change 1.206)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@665 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-15 21:09:42 +00:00
Mark Haverkamp
b3767775c4 Fixes to patterns and filters for B API spec support.
(Logical change 1.204)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@661 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-13 20:07:55 +00:00
Mark Haverkamp
2b18ac9b77 More updates to make event conform to B spec.
(Logical change 1.193)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@633 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:46:41 +00:00
Steven Dake
b99706a7e3 defect 512 - some ais header file defines are wrong.
(Logical change 1.189)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@624 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-22 18:46:23 +00:00
Mark Haverkamp
8c90624817 Test updates to handle SA_AIS_ERR_TRY_AGAIN return codes.
(Logical change 1.176)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@596 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 20:05:46 +00:00
Steven Dake
4196c44187 em64t support
(Logical change 1.141)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@505 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-27 06:27:31 +00:00
Mark Haverkamp
191871bb73 Add unlink function.
(Logical change 1.137)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@493 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 16:54:46 +00:00
Mark Haverkamp
4fc0ad66e9 Add test for channel open async
(Logical change 1.133)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@479 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 17:16:52 +00:00
Mark Haverkamp
acfa063383 Update to B spec API
(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@472 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
2fefbeaeb4 Need to specify create because the channel probably doesn't exist anymore.
(Logical change 1.115)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@404 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-11 16:35:28 +00:00
Steven Dake
e2305e43aa type safeness printing.
(Logical change 1.98)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@361 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Mark Haverkamp
ba4ae778f7 I added some cases to test multiple channel and subscriptions as well
as some retained event tests.

(Logical change 1.97)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@356 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-22 21:16:53 +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