Commit Graph

17 Commits

Author SHA1 Message Date
Andrew Johnson
712bb052ef Merged the epicsEvent-api branch.
Modified epicsEventTest.cpp to use the new names.
2011-08-23 18:19:55 -05:00
Andrew Johnson
1e6464cdc4 libCom/test: Various improvements.
Made epicsThreadOnceTest more deterministic, replacing an
epicsThreadSleep() with epicsEventMustWait(), and added a diagnostic
message before running the thread recurse test.

Eric added a series of checks to epicsEventTest.cpp which ensure that
epicsEventSignal() only wakes one waiting thread.
2010-10-29 11:58:44 -05:00
Andrew Johnson
a37105e0c7 Fixed buffer overflow in thread name. 2008-11-16 17:32:58 +00:00
Andrew Johnson
1269897998 Fixed epicsEventWaitWithTimeout(id, 0.0), added test. 2008-09-24 19:24:59 +00:00
Andrew Johnson
3d3ad47e47 Added test using timeout = DBL_MAX. 2006-12-21 17:11:33 +00:00
Andrew Johnson
6c19051727 Major reorganization:
Removed all Main.cpp files, use the macro in testMain.h instead and
defaulted all argc/argv parameters.
Converted all real test programs to use epicsUnitTest.h.
Moved performance measurements from epicsThreadTest to epicsThreadPerform.
Moved epicsOkToBlockTest tests into epicsThreadTest.
On a host arch,  make test  inside the O.arch directory runs all tests.
2006-11-09 22:38:41 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Jeff Hill
b13d938b11 use struct ptr for ID types because:
o this is more type safe
o this works better with source level debuggers
2001-06-06 17:28:37 +00:00
Jeff Hill
f78c134d31 fixed c++ loop index scope problem 2001-05-22 02:21:57 +00:00
Jeff Hill
bf13ffdfe3 print error and error summary 2001-05-18 20:03:23 +00:00
Jeff Hill
4dc395bb24 measure delay of zero 2001-05-18 18:04:59 +00:00
Jeff Hill
962f6d08d1 fixed improper use of unsigned type 2001-05-18 16:35:06 +00:00
Jeff Hill
01311de271 added timeout and sleep delay tests 2001-05-04 21:41:23 +00:00
Andrew Johnson
7ec189d2ce Made producer and consumer routines extern "C" to stop SUNWspro warning. 2001-03-16 20:05:00 +00:00
Janet B. Anderson
a3aac0aaa2 extern did not work 2001-01-18 20:49:04 +00:00
Marty Kraimer
dbe9c8e75f changes for osiThread=>epicsThread 2001-01-18 19:08:14 +00:00
Marty Kraimer
d3c0f075cf replacements for osdSem 2000-12-20 21:02:04 +00:00