"use strict";(self.webpackChunkrspress_doc_template=self.webpackChunkrspress_doc_template||[]).push([["9142"],{32329:function(e,s,r){r.r(s);var n=r(85893),i=r(50065);function l(e){let s=Object.assign({h1:"h1",a:"a",pre:"pre",code:"code",span:"span",p:"p",div:"div",ul:"ul",li:"li"},(0,i.ah)(),e.components);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.h1,{id:"hbucptaskpriority",children:[(0,n.jsx)(s.a,{className:"header-anchor","aria-hidden":"true",href:"#hbucptaskpriority",children:"#"}),"hbUCPTaskPriority"]}),"\n",(0,n.jsx)(s.pre,{className:"code",children:(0,n.jsx)(s.pre,{className:"shiki css-variables has-line-number",style:{backgroundColor:"var(--shiki-color-background)"},tabIndex:"0",children:(0,n.jsxs)(s.code,{className:"language-cpp",meta:"",children:[(0,n.jsxs)(s.span,{className:"line line-number",children:[(0,n.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"typedef"}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"enum"}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"hbUCPTaskPriority"}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" {"})]}),"\n",(0,n.jsxs)(s.span,{className:"line line-number",children:[(0,n.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  HB_UCP_PRIORITY_LOWEST "}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,n.jsxs)(s.span,{className:"line line-number",children:[(0,n.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  HB_UCP_PRIORITY_HIGHEST "}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,n.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"255"})]}),"\n",(0,n.jsx)(s.span,{className:"line line-number",children:(0,n.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"} hbUCPTaskPriority;"})}),"\n"]})})}),"\n",(0,n.jsxs)(s.p,{children:["Task\u4F18\u5148\u7EA7\u914D\u7F6E\uFF0C\u914D\u7F6E\u7684\u4F18\u5148\u7EA7\u8303\u56F4\u662F ",(0,n.jsx)(s.code,{children:"[0,255]"}),"\u3002"]}),"\n",(0,n.jsxs)(s.div,{className:"rspress-directive info",children:[(0,n.jsx)(s.div,{className:"rspress-directive-title",children:"\u6CE8\u89E3"}),(0,n.jsx)(s.div,{className:"rspress-directive-content",children:(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsxs)(s.p,{children:["\u5176\u4E2D ",(0,n.jsx)(s.code,{children:"[0,253]"})," \u4E3A\u666E\u901A\u4F4E\u4F18\u4EFB\u52A1\uFF0C",(0,n.jsx)(s.code,{children:"254"})," \u4E3Ahigh\u62A2\u5360\u4EFB\u52A1\uFF0C",(0,n.jsx)(s.code,{children:"255"})," \u4E3Aurgent\u62A2\u5360\u4EFB\u52A1\u3002"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsx)(s.p,{children:"\u4EFB\u52A1\u7684\u4F18\u5148\u7EA7\u8D8A\u9AD8\uFF0C\u5728\u4F18\u5148\u7EA7\u961F\u5217\u4E2D\u5C31\u8D8A\u9760\u524D\uFF0C\u4EFB\u52A1\u5C31\u4F1A\u8D8A\u65E9\u8FD0\u884C\u3002"}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsxs)(s.p,{children:["UCP\u63D0\u4F9B\u5D4C\u5957\u62A2\u5360\u80FD\u529B\uFF0C\u62A2\u5360\u987A\u5E8F\uFF1Aurgent\u62A2\u5360\u4EFB\u52A1 > high\u62A2\u5360\u4EFB\u52A1 > \u666E\u901A\u4F4E\u4F18\u4EFB\u52A1\u3002\u82E5\u9700\u8981\u5B9E\u73B0\u62A2\u5360\u529F\u80FD\uFF0C\u8BF7\u53C2\u8003",(0,n.jsx)(s.a,{href:"/latest/zh/guide/ucp/runtime/runtime_dev.html#preemption",children:"\u6A21\u578B\u4F18\u5148\u7EA7\u63A7\u5236"}),"\u3002"]}),"\n"]}),"\n"]})})]})]})}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:s}=Object.assign({},(0,i.ah)(),e.components);return s?(0,n.jsx)(s,Object.assign({},e,{children:(0,n.jsx)(l,e)})):l(e)}s.default=c,c.__RSPRESS_PAGE_META={},c.__RSPRESS_PAGE_META["latest%2Fzh%2Fguide%2Fucp%2Fucp_api_reference%2Fucp_api_data_structure%2Fhbucptaskpriority.mdx"]={toc:[],title:"hbUCPTaskPriority",frontmatter:{}}}}]);