Andrew Johnson
3c99391d93
Added SPDX License ID to all EPICS-original source files
...
In some cases the license-identification header was missing,
so I added that as well. Replaced the remaining headers that
specifically identified "Versions 3.13.7 and higher".
Makefiles and the build system were deliberately excluded.
2020-08-03 11:53:01 -05:00
Michael Davidsaver
799e72b1e3
libCom: actually use libComAPI.h in libCom
2020-05-20 14:47:51 -07:00
Michael Davidsaver
f1cbe93b6c
Revert "replace most internal getCurrent() -> getMonotonic()"
...
This reverts commit 4f2228fb1d
except for some test code.
2020-04-24 15:37:48 -07:00
Andrew Johnson
85d1982890
Merge changes from 3.15 branch into 7.0
2020-04-15 21:39:54 -05:00
Michael Davidsaver
a34a84f19f
libcom: win32 poison TLS value
2019-10-17 20:12:10 -07:00
Michael Davidsaver
e257e30cc9
Merge remote-tracking branch 'lp-Com/use-monotonic' into 7.0
...
* lp-Com/use-monotonic:
VxWorks: Measure CPU time-base frequency if necessary
replace most internal getCurrent() -> getMonotonic()
dbScan periodic scan use monotonic time
monotonic adapt to regular time APIs
2019-10-06 20:10:20 -07:00
Michael Davidsaver
f134abb84e
epicsThread avoid possible data race on joined
2019-09-24 08:52:48 -07:00
Andrew Johnson
fbf62189cb
Replace epicsThreadOptsDefaults() with EPICS_THREAD_OPTS_INIT
...
The epicsThreadCreate() routines now interpose calls to
epicsThreadGetStackSize() if an enum value is passed.
2019-07-02 17:27:27 -05:00
Michael Davidsaver
5efce9ecc0
epicsThreadJoin() -> epicsThreadMustJoin()
2019-06-23 07:30:48 -07:00
Michael Davidsaver
4f2228fb1d
replace most internal getCurrent() -> getMonotonic()
...
every place where a time delta is computed, and then some.
2019-01-03 19:34:47 -08:00
Michael Davidsaver
149ab1186a
epicsThread fix join
2018-11-04 20:06:18 -08:00
Michael Davidsaver
c9dcab95a6
class epicsThread is joinable
2018-11-04 20:06:18 -08:00
Michael Davidsaver
d989c8fade
libCom: joinable threads (posix only)
...
Add epicsThreadJoin() and epicsThreadOpts::joinable.
For compatibility, default threads aren't joinable
by default.
Currently only POSIX can join.
2018-11-04 20:06:18 -08:00
Michael Davidsaver
ca800fa57d
libCom: add epicsThreadCreateOpt()
...
Variant of epicsThreadCreate() which accepts optional
arguments via a structure to allow for compatible
addition of new arguments.
2018-11-04 20:06:18 -08:00
Ralph Lange
833648c977
Move all under modules/libcom
2018-06-19 11:25:46 +02:00