Commit Graph

3424 Commits

Author SHA1 Message Date
William Lupton 45d8f94f26 changed to printf in threadShow 2000-04-03 22:38:31 +00:00
William Lupton dad9f18ed8 removed threadSleep from threadShow 2000-04-01 01:24:03 +00:00
William Lupton ad88ed900d added more info (and short sleep) to threadShow 2000-03-28 20:30:07 +00:00
W. Eric Norum ae4890e59a RTEMS now allows locked simple binary semaphores to be deleted. 2000-03-26 02:01:26 +00:00
Marty Kraimer d2a396536f allow papTSD to be created in Get 2000-03-22 21:16:42 +00:00
Marty Kraimer 89f0141257 added threadHighestPriorityLevelBelow,threadLowestPriorityLevelAbove 2000-03-22 20:22:57 +00:00
W. Eric Norum 18586d2026 Add preliminary `show' information. 2000-03-21 21:10:03 +00:00
Jeff Hill 99d8271d84 removed extra include 2000-03-21 19:16:19 +00:00
Jeff Hill de0f3dc9ed removed rsrv_init() definition 2000-03-21 19:16:01 +00:00
W. Eric Norum b35e62ed07 Ensure that semaphore is destroyed even if it is held by the calling task. 2000-03-20 23:08:46 +00:00
Jeff Hill 486a30ea01 removed bogus include 2000-03-20 21:30:16 +00:00
W. Eric Norum 61bba9985b Set task variable notepad entry properly.
Ensure that a threadPrivateGet before a threadPrivateSet returns a NULL pointer.
2000-03-17 19:58:27 +00:00
W. Eric Norum 07d72972f0 Add dummy implementation of osiSpawnDetachedProcess. 2000-03-16 23:21:12 +00:00
W. Eric Norum 2853828297 Give the initial thread a `taskVar' structure.
Add functions to compute next higher and next lower priority level.
2000-03-16 18:59:02 +00:00
Janet B. Anderson ba75cd3066 Added cvs tag to epics release strings. 2000-03-16 15:35:45 +00:00
Jeff Hill 4ebcbd5f50 added new priority manipulating routines 2000-03-16 02:25:10 +00:00
Marty Kraimer 740f2de82a add test for threadPrivate 2000-03-15 21:36:02 +00:00
Marty Kraimer ac597db46f add definition for sysClkRateGet 2000-03-15 19:10:51 +00:00
Marty Kraimer e67d89e8a6 changes so things build 2000-03-15 18:49:33 +00:00
William Lupton 0149a2c6e0 made threadPrivate error messages (some) dependent on errVerbose 2000-03-15 00:14:01 +00:00
William Lupton 96f0eea5bd supported BSD timeval 2000-03-15 00:13:30 +00:00
Jeff Hill ffe00db8a9 added new line at EOF 2000-03-14 22:39:05 +00:00
Jeff Hill d92991d035 added port config fetch 2000-03-14 22:35:06 +00:00
Marty Kraimer f809f3a716 lock for ++nthreadPrivate 2000-03-14 21:18:05 +00:00
Marty Kraimer 9edfa9f2e6 threadPrivateMutex not necessary 2000-03-14 20:31:20 +00:00
Marty Kraimer 18cfa83a26 threadOnceMutex => threadPrivateMutex 2000-03-14 19:27:10 +00:00
W. Eric Norum 614a83fad3 Use mutex to prevent race in threadPrivateCreate.
Use RTEMS task notepad instead of task variables to implement private
thread variables.
2000-03-14 18:49:27 +00:00
W. Eric Norum f7f517e27d Add definition for SOCKADDR_HAS_LEN -- this ensures the the correct
code in default/osdNetIntf.c is used.
2000-03-14 16:51:11 +00:00
W. Eric Norum 6ee30c7d0f Group os-dependent code into a single location.
Add SOCKADDR_HAS_LEN conditional.
2000-03-14 16:50:20 +00:00
Jeff Hill bc3802b106 fixed missing #define in Solaris build 2000-03-14 16:20:04 +00:00
Jeff Hill 71e9d31ccd added osdNetIntf.c 2000-03-14 16:02:06 +00:00
Jeff Hill f285e77d5f added osdNetIntf.c 2000-03-14 15:09:11 +00:00
W. Eric Norum 0665dc7eb3 Add newline at end of file. 2000-03-13 22:43:34 +00:00
W. Eric Norum 697df77aad Add some definitions. 2000-03-13 22:24:50 +00:00
W. Eric Norum 99777c8c38 Protect calls to gethostbyname and gethostbyaddr with a mutex.
On Solaris and RTEMS (and perhaps others) these routines are not thread-safe.
2000-03-13 21:44:29 +00:00
Marty Kraimer 1ab3714211 make threadPrivate mthread safe 2000-03-13 19:11:09 +00:00
Jeff Hill f79190200f getting size_t from stddef.h is more portable 2000-03-13 16:12:55 +00:00
Jeff Hill c9f1ec72d1 better way to fix gnu warnings 2000-03-13 15:37:11 +00:00
Jeff Hill d02b8a526d fixed gnu warnings 2000-03-13 15:35:11 +00:00
William Lupton 03fd3956d5 added SD_BOTH definition 2000-03-13 08:51:01 +00:00
W. Eric Norum 3cb400f0c1 Add definition for SD_BOTH. 2000-03-13 01:15:56 +00:00
W. Eric Norum df52a9b1fa Need to include sys/types.h to get size_t declaration. 2000-03-13 01:15:05 +00:00
Jeff Hill 7a173ed34c vxWorks does not have SD_BOTH ?? 2000-03-11 01:39:59 +00:00
Jeff Hill 0767a35b96 first cut at multi-threading version 2000-03-11 01:35:27 +00:00
Jeff Hill 64dceda8e3 add extern keyword to file scope variable definition for visual C++
depite the fact that their doc indicates that this is not required.
2000-03-10 16:16:18 +00:00
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