Commit Graph

979 Commits

Author SHA1 Message Date
Marty Kraimer
8f8b3b0b76 change order of defs 2000-03-09 21:56:44 +00:00
Marty Kraimer
f1579761db changes for initialization errors 2000-03-09 15:38:17 +00:00
Jeff Hill
b04776e855 added missing win32 keywords 2000-03-09 01:50:09 +00:00
Jeff Hill
a8937526bf made two routines static 2000-03-09 01:41:32 +00:00
W. Eric Norum
a02cd4b95d Don't call threadInit from threadCreate -- just print an error message and stop.
This avoids problems with recursive failures should a function called by
threadInit call errlogPrintf.
2000-03-08 23:26:12 +00:00
Marty Kraimer
a1df362b2c epicsPrintf=>errlogPrintf; threadSuspendSelf replaces abort 2000-03-08 21:11:40 +00:00
Marty Kraimer
a0065fb2eb more changes for threadInit 2000-03-08 21:09:21 +00:00
Marty Kraimer
bc42a7d000 prevent problems when threadInit not called 2000-03-08 18:50:58 +00:00
Marty Kraimer
a13bf6cc0e prevent recursive calls if errlogInit fails 2000-03-08 18:49:56 +00:00
W. Eric Norum
bd169cc2d5 Clean up threadOnceOsd.
Start up interrupt message daemon from threadInit.
2000-03-07 20:33:07 +00:00
Marty Kraimer
cdf3825c97 implement latest changes to osiThread.h 2000-03-07 20:24:54 +00:00
W. Eric Norum
4b3e30ddac Make RTEMS version of threadShow work like POSIX version when passed a
thread ID of 0 (print a header).
2000-03-07 17:44:00 +00:00
Marty Kraimer
635df95acb use threadOnce; add lazy init 2000-03-07 14:51:05 +00:00
Jeff Hill
4ed3956c92 updated threadShow() and threadInit to match new interface from William 2000-03-06 23:45:32 +00:00
Marty Kraimer
d9b4a5a4c3 remove include for cadef.h 2000-03-06 21:12:57 +00:00
William Lupton
e47924e852 added #ifdef __cplusplus extern C definition 2000-03-06 20:21:31 +00:00
William Lupton
75f9864349 added threadInit call to threadCreate (it _is_ safe!) 2000-03-06 18:16:46 +00:00
Janet B. Anderson
555fa3ed44 Removed unused reference to _NO_PROTO and unused LIBTYPE definition. 2000-03-06 14:57:13 +00:00
W. Eric Norum
2645a038f1 Add call to threadInit before starting tests.
Change threadShow to threadShowAll.
2000-03-06 01:16:33 +00:00
W. Eric Norum
7c93a18b2a Reflect changes to osiThread.h. New `show' functions. Implement threadInit. 2000-03-05 21:44:06 +00:00
William Lupton
1125a4fe09 added threadInit, threadExitMain and modified threadShow family 2000-03-04 02:59:50 +00:00
William Lupton
820fb6bd6c restored setting of id to 1 after func call in threadOnce (added comments) 2000-03-03 18:37:41 +00:00
Marty Kraimer
9dcfc96a10 in threadOnceOsd get rid of *id = 1 after call to func 2000-03-03 16:37:00 +00:00
Marty Kraimer
cd630a1424 change defs for threadOnceOsd; remove threadIsReady 2000-03-03 16:33:00 +00:00
Marty Kraimer
ed23308c88 execute many times so that time is random 2000-03-03 15:11:28 +00:00
W. Eric Norum
ecfb9eac2f Clean up in preparation for release of threadInit. 2000-03-03 01:45:23 +00:00
Jeff Hill
a366afb80d added thread once 2000-03-02 00:00:01 +00:00
Jeff Hill
99dc24ef61 doc 2000-03-01 23:59:39 +00:00
Jeff Hill
9909fb1de1 fixed gnu warnings 2000-03-01 23:57:49 +00:00
W. Eric Norum
6952fcffc0 Avoid recursive lockups in threadOnce while still ensuring that a
preempting task does not incorrectly determine that the `init'
function has completed.
2000-03-01 23:47:19 +00:00
Jeff Hill
cb81dd020a fixed unterminated string 2000-03-01 23:22:10 +00:00
Jeff Hill
e3ec00e71d dont use C++ std lib 2000-03-01 23:19:25 +00:00
William Lupton
1f57197b5f threadOnce fix (fixes use of macro) 2000-03-01 23:14:18 +00:00
Jeff Hill
2e863b53a3 additional header files 2000-03-01 23:12:51 +00:00
Jeff Hill
56602e4ff9 added maxPosixFD() 2000-03-01 23:09:59 +00:00
Jeff Hill
4b1a83231f included additional header files 2000-03-01 22:53:36 +00:00
Jeff Hill
eb3179849b added newline at EOF for UNIX 2000-03-01 22:48:47 +00:00
Jeff Hill
1d58342fc4 move back to solaris 2000-03-01 22:43:05 +00:00
Jeff Hill
ba31a14dda transfer back to windows 2000-03-01 21:39:32 +00:00
Jeff Hill
db0f9d6541 checked in wrong version 2000-03-01 21:25:24 +00:00
Jeff Hill
c9cf18477b removed RTTI 2000-03-01 21:21:36 +00:00
William Lupton
273668a206 reverted inadvertent temporary local change 2000-03-01 18:51:01 +00:00
William Lupton
35f949f2cc threadOnceOsd fix for recursive invocations 2000-03-01 18:49:46 +00:00
W. Eric Norum
8fca36d03c Simplified implementation of threadOnce. 2000-03-01 18:22:51 +00:00
W. Eric Norum
664c03b8e6 Add RTEMS implementations of threadGetId and threadOnceOsd. 2000-03-01 15:09:05 +00:00
William Lupton
34449f547a new threadOnce implementation; added threadGetId 2000-03-01 02:30:20 +00:00
William Lupton
ed81b2df2f changed tsStrftime to tsStampToStrftime 2000-03-01 02:29:39 +00:00
Jeff Hill
8ede70eb66 fixed committed wrong file version 2000-03-01 00:59:55 +00:00
Jeff Hill
02db522092 installed 2000-03-01 00:39:26 +00:00
Jeff Hill
3a832e9295 use double not long double 2000-03-01 00:19:45 +00:00