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 @@ -1813,6 +1813,10 @@ extern "C" {
18131813 pub fn taskIdSelf ( ) -> :: TASK_ID ;
18141814 pub fn taskDelay ( ticks : :: _Vx_ticks_t ) -> :: c_int ;
18151815
1816+ // taskLib.h
1817+ pub fn taskNameSet ( task_id : :: TASK_ID , task_name : * mut :: c_char ) -> :: c_int ;
1818+ pub fn taskNameGet ( task_id : :: TASK_ID , buf_name : * mut :: c_char , bufsize : :: size_t ) -> :: c_int ;
1819+
18161820 // rtpLibCommon.h
18171821 pub fn rtpInfoGet ( rtpId : :: RTP_ID , rtpStruct : * mut :: RTP_DESC ) -> :: c_int ;
18181822 pub fn rtpSpawn (
@@ -1872,6 +1876,10 @@ extern "C" {
18721876 ) -> :: c_int ;
18731877 pub fn mq_getattr ( mqd : :: mqd_t , attr : * mut :: mq_attr ) -> :: c_int ;
18741878 pub fn mq_setattr ( mqd : :: mqd_t , newattr : * const :: mq_attr , oldattr : * mut :: mq_attr ) -> :: c_int ;
1879+
1880+ // vxCpuLib.h
1881+ fn vxCpuEnabledGet ( ) -> :: cpuset_t ; // Get set of running CPU's in the system
1882+ fn vxCpuConfiguredGet ( ) -> :: cpuset_t ; // Get set of Configured CPU's in the system
18751883}
18761884
18771885//Dummy functions, these don't really exist in VxWorks.
You can’t perform that action at this time.
0 commit comments