File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1813,6 +1813,10 @@ extern "C" {
1813
1813
pub fn taskIdSelf ( ) -> :: TASK_ID ;
1814
1814
pub fn taskDelay ( ticks : :: _Vx_ticks_t ) -> :: c_int ;
1815
1815
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
+
1816
1820
// rtpLibCommon.h
1817
1821
pub fn rtpInfoGet ( rtpId : :: RTP_ID , rtpStruct : * mut :: RTP_DESC ) -> :: c_int ;
1818
1822
pub fn rtpSpawn (
@@ -1872,6 +1876,10 @@ extern "C" {
1872
1876
) -> :: c_int ;
1873
1877
pub fn mq_getattr ( mqd : :: mqd_t , attr : * mut :: mq_attr ) -> :: c_int ;
1874
1878
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
1875
1883
}
1876
1884
1877
1885
//Dummy functions, these don't really exist in VxWorks.
You can’t perform that action at this time.
0 commit comments