X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fdu_app%2Fdu_mgr_main.c;h=7f112cb1f260f3506817c17405c52a74581f4b82;hb=135666f5b7d048c76f68c15bd0c6b6566d1e49e2;hp=364157b2ca5d07852a18a702438f8295ca4b271d;hpb=9634ca974c4418c0800090e33d37ef1fe7e8cb30;p=o-du%2Fl2.git diff --git a/src/du_app/du_mgr_main.c b/src/du_app/du_mgr_main.c index 364157b2c..7f112cb1f 100644 --- a/src/du_app/du_mgr_main.c +++ b/src/du_app/du_mgr_main.c @@ -291,7 +291,7 @@ uint8_t commonInit() ODU_SET_PROC_ID(DU_PROC); /* system task for DU APP */ - if(SCreateSTsk(PRIOR0, &du_app_stsk) != ROK) + if(ODU_CREATE_TASK(PRIOR0, &du_app_stsk) != ROK) { DU_LOG("\nDU_APP : System Task creation for DU APP failed"); return RFAILED; @@ -299,7 +299,7 @@ uint8_t commonInit() ODU_SET_THREAD_AFFINITY(&du_app_stsk, SS_AFFINITY_MODE_EXCL, 15, 0); /* system task for RLC_DL and MAC */ - if(SCreateSTsk(PRIOR0, &rlc_mac_cl_stsk) != ROK) + if(ODU_CREATE_TASK(PRIOR0, &rlc_mac_cl_stsk) != ROK) { DU_LOG("\nDU_APP : System Task creation for RLC DL/MAC failed"); return RFAILED; @@ -309,7 +309,7 @@ uint8_t commonInit() ODU_SET_THREAD_AFFINITY(&rlc_mac_cl_stsk, SS_AFFINITY_MODE_EXCL, 16, 0); /* system task for RLC UL */ - if(SCreateSTsk(PRIOR1, &rlc_ul_stsk) != ROK) + if(ODU_CREATE_TASK(PRIOR1, &rlc_ul_stsk) != ROK) { DU_LOG("\nDU_APP : System Task creation for RLC UL failed"); return RFAILED; @@ -317,7 +317,7 @@ uint8_t commonInit() ODU_SET_THREAD_AFFINITY(&rlc_ul_stsk, SS_AFFINITY_MODE_EXCL, 17, 0); /* system task for SCTP receiver thread */ - if(SCreateSTsk(PRIOR0, &sctp_stsk) != ROK) + if(ODU_CREATE_TASK(PRIOR0, &sctp_stsk) != ROK) { DU_LOG("\nDU_APP : System Task creation for SCTP failed"); return RFAILED; @@ -325,7 +325,7 @@ uint8_t commonInit() ODU_SET_THREAD_AFFINITY(&sctp_stsk, SS_AFFINITY_MODE_EXCL, 18, 0); /* system task for lower-mac receiver thread */ - if(SCreateSTsk(PRIOR0, &lwr_mac_stsk) != ROK) + if(ODU_CREATE_TASK(PRIOR0, &lwr_mac_stsk) != ROK) { DU_LOG("\nDU_APP : System Task creation for Lower MAC failed"); return RFAILED;