"use strict";(self.webpackChunkrspress_doc_template=self.webpackChunkrspress_doc_template||[]).push([["2827"],{44217:function(e,s,n){n.r(s);var r=n(85893),l=n(50065);function i(e){let s=Object.assign({h1:"h1",a:"a",pre:"pre",code:"code",span:"span",p:"p",ul:"ul",li:"li"},(0,l.ah)(),e.components);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s.h1,{id:"hbucpsubmittask",children:[(0,r.jsx)(s.a,{className:"header-anchor","aria-hidden":"true",href:"#hbucpsubmittask",children:"#"}),"hbUCPSubmitTask"]}),"\n",(0,r.jsx)(s.pre,{className:"code",children:(0,r.jsx)(s.pre,{className:"shiki css-variables has-line-number",style:{backgroundColor:"var(--shiki-color-background)"},tabIndex:"0",children:(0,r.jsxs)(s.code,{className:"language-cpp",meta:"",children:[(0,r.jsxs)(s.span,{className:"line line-number",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"int32_t"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"hbUCPSubmitTask"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"hbUCPTaskHandle_t"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" taskHandle"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{className:"line line-number",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"                        "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"hbUCPSchedParam"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"schedParam);"})]}),"\n"]})})}),"\n",(0,r.jsx)(s.p,{children:"Commit the UCP task to the scheduler."}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsx)(s.p,{children:"Parameter"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["[in] ",(0,r.jsx)(s.code,{children:"taskHandle"})," Task handle pointer."]}),"\n",(0,r.jsxs)(s.li,{children:["[in] ",(0,r.jsx)(s.code,{children:"schedParam"})," Task scheduling parameter."]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsx)(s.p,{children:"Return Value"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["Return ",(0,r.jsx)(s.code,{children:"0"})," means the API was successfully executed, otherwise the execution failed."]}),"\n"]}),"\n"]}),"\n"]})]})}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:s}=Object.assign({},(0,l.ah)(),e.components);return s?(0,r.jsx)(s,Object.assign({},e,{children:(0,r.jsx)(i,e)})):i(e)}s.default=c,c.__RSPRESS_PAGE_META={},c.__RSPRESS_PAGE_META["latest%2Fen%2Fguide%2Fucp%2Fucp_api_reference%2Fucp_api_function_interface%2Fhbucpsubmittask.mdx"]={toc:[],title:"hbUCPSubmitTask",frontmatter:{}}}}]);