From: Wang, J. J <jin...@in...> - 2005-09-20 01:24:21
|
It is ok for me now. The reason is after connecting to ATCA, there are = quite a few events (resource add) in event queue automatically. Thus, = when I added 2 user events, seems saHpiEventsGet never return = SA_ERR_HPI_TIMEOUT even though it has finished finding all user events. = I will close this bug.=20 =20 Thanks Renier. =20 WangJing =20 ________________________________ From: ope...@li... = [mailto:ope...@li...] On Behalf Of Renier = Morales Sent: 2005=C4=EA9=D4=C220=C8=D5 3:42 To: ope...@li... Subject: RE: [Openhpi-devel] [2.2-rc] [ openhpi-Bugs-1295527 ] = saHpiEventGet never return TIMEOUT =20 Tested against saftest 1.0 and saftest cvs versions and works for me = always.=20 Regards, Renier Morales=20 ope...@li... wrote on 09/19/2005 12:33:09 = PM: > The problem seems to appear once an event is added using=20 > saHpiEventAdd. Even you saHpiEventGet in a endless loop, it always=20 > returns SA_OK. >=20 > WangJing >=20 > -----Original Message----- > From: ope...@li... [mailto:openhpi- > dev...@li...] On Behalf Of Wang, Jing J > Sent: 2005=C4=EA9=D4=C219=C8=D5 23:57 > To: ope...@li... > Subject: [Openhpi-devel] [2.2-rc] [ openhpi-Bugs-1295527 ]=20 > saHpiEventGet never return TIMEOUT >=20 > Folks, > This is a new bug introduced by 2.2-rc. Anyone know why? >=20 >=20 > WangJing >=20 > -----Original Message----- > From: ope...@li... [mailto:openhpi- > tra...@li...] On Behalf Of SourceForge.net > Sent: 2005=C4=EA9=D4=C219=C8=D5 23:28 > To: no...@so... > Subject: [oh-tracker] [ openhpi-Bugs-1295527 ] saHpiEventGet never=20 > return TIMEOUT >=20 > Bugs item #1295527, was opened at 2005-09-19 23:28 > Message generated for change (Tracker Item Submitted) made by Item = Submitter > You can respond by visiting:=20 > https://sourceforge.net/tracker/? > func=3Ddetail&atid=3D532251&aid=3D1295527&group_id=3D71730 >=20 > Please note that this message will contain a full copy of the comment = thread, > including the initial issue submission, for this request, > not just the latest update. > Category: OpenHPI base library > Group: 2.1.3 > Status: Open > Resolution: None > Priority: 9 > Submitted By: wang, jing (wangjing) > Assigned to: vadim revyakin (vadimr) > Summary: saHpiEventGet never return TIMEOUT >=20 > Initial Comment: > SAFTEST HPI > src/events/saHpiSubscribe/1-1.test fail since=20 > saHpiEventGet never return SA_ERR_HPI_TIMEOUT,=20 > always return SA_OK even though event queue has no=20 > event inside and time out. >=20 > while(1){ > ... > val =3D saHpiEventGet(session_id,=20 > D_TIMEOUT, &event, &rdr, &rpt_entry, NULL); > if (val !=3D SA_OK && val !=3D=20 > SA_ERR_HPI_TIMEOUT) { > e_print(saHpiEventGet, SA_OK ||=20 > SA_ERR_HPI_TIMEOUT, val); > ret =3D SAF_TEST_UNRESOLVED; > goto fun_out1; > } > ... > } >=20 > ---------------------------------------------------------------------- >=20 > You can respond by visiting:=20 > https://sourceforge.net/tracker/? > func=3Ddetail&atid=3D532251&aid=3D1295527&group_id=3D71730 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download it for free - -and be entered to win a 42" plasma tv or your = very > own Sony(tm)PSP. Click here to play: = http://sourceforge.net/geronimo.php > _______________________________________________ > openhpi-tracker mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openhpi-tracker >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download it for free - -and be entered to win a 42" plasma tv or your = very > own Sony(tm)PSP. Click here to play: = http://sourceforge.net/geronimo.php > _______________________________________________ > Openhpi-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openhpi-devel >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download it for free - -and be entered to win a 42" plasma tv or your = very > own Sony(tm)PSP. Click here to play: = http://sourceforge.net/geronimo.php > _______________________________________________ > Openhpi-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openhpi-devel |