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 |
|
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 |
|