File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1812,6 +1812,10 @@ extern "C" {
18121812 pub fn taskIdSelf ( ) -> :: TASK_ID ;
18131813 pub fn taskDelay ( ticks : :: _Vx_ticks_t ) -> :: c_int ;
18141814
1815+ // taskLib.h
1816+ pub fn taskNameSet ( task_id : :: TASK_ID , task_name : * mut :: c_char ) -> :: c_int ;
1817+ pub fn taskNameGet ( task_id : :: TASK_ID , buf_name : * mut :: c_char , bufsize : :: size_t ) -> :: c_int ;
1818+
18151819 // rtpLibCommon.h
18161820 pub fn rtpInfoGet ( rtpId : :: RTP_ID , rtpStruct : * mut :: RTP_DESC ) -> :: c_int ;
18171821 pub fn rtpSpawn (
@@ -1871,6 +1875,10 @@ extern "C" {
18711875 ) -> :: c_int ;
18721876 pub fn mq_getattr ( mqd : :: mqd_t , attr : * mut :: mq_attr ) -> :: c_int ;
18731877 pub fn mq_setattr ( mqd : :: mqd_t , newattr : * const :: mq_attr , oldattr : * mut :: mq_attr ) -> :: c_int ;
1878+
1879+ // vxCpuLib.h
1880+ fn vxCpuEnabledGet ( ) -> :: cpuset_t ; // Get set of running CPU's in the system
1881+ fn vxCpuConfiguredGet ( ) -> :: cpuset_t ; // Get set of Configured CPU's in the system
18741882}
18751883
18761884//Dummy functions, these don't really exist in VxWorks.
You can’t perform that action at this time.
0 commit comments