Merge lp:~epics-core/epics-base/get-cpus into lp:~epics-core/epics-base/3.15
Proposed by
Ralph Lange
Status: | Merged |
---|---|
Merged at revision: | 12480 |
Proposed branch: | lp:~epics-core/epics-base/get-cpus |
Merge into: | lp:~epics-core/epics-base/3.15 |
Diff against target: |
131 lines (+50/-3) 7 files modified
.bzrignore (+1/-0) src/libCom/osi/epicsThread.h (+2/-1) src/libCom/osi/os/RTEMS/osdThread.c (+9/-0) src/libCom/osi/os/WIN32/osdThread.c (+12/-0) src/libCom/osi/os/posix/osdThread.c (+16/-1) src/libCom/osi/os/vxWorks/osdThread.c (+5/-0) src/libCom/test/epicsThreadTest.cpp (+5/-1) |
To merge this branch: | bzr merge lp:~epics-core/epics-base/get-cpus |
Related bugs: | |
Related blueprints: |
Parallel Callback Threads
(High)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrew Johnson | Approve | ||
Review via email: mp+155967@code.launchpad.net |
Description of the change
Add int epicsThreadGetC
epicsThreadGetC
The Posix and WIN32 implementations are returning the number of CPUs available for the process, which may be limited by the system.
For the time being, vxWorks just returns 1.
Only tested for Linux. The implementations for RTEMS, vxWorks and WIN32 need testing, please...
To post a comment you must log in.
I'd certainly like to see this merged. For possilbly more complete posix and win32 implementations see:
http:// bazaar. launchpad. net/~epics- core/epics- base/thread- pool/revision/ 12255