码迷,mamicode.com
首页 >  
搜索关键字:task schedule    ( 8574个结果
Java线程池ThreadPoolExecutor源码浅析
一、UML图 二、创建线程池 2.1、Executors工厂方法 在ThreadPoolExecutor类的文档注释中有这么一句话:An ExecutorService that executes each submitted task using one of possibly several p ...
分类:编程语言   时间:2021-07-05 18:34:44    阅读次数:0
rtos学习之支持多优先级
1、就绪列表 RT-Thread 要支持多优先级,需要靠就绪列表的支持,从代码上看,就绪列表由两个在schedule.c文件定义的全局变量组成,一个是线程就绪优先级组rt_thread_ready_priority_group,另一个是线程优先级表rt_thread_priority_table[R ...
分类:其他好文   时间:2021-07-05 17:33:57    阅读次数:0
1046 Shortest Distance (20 分)
1046 Shortest Distance (20 分) The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest ...
分类:其他好文   时间:2021-07-05 17:06:44    阅读次数:0
C# Async Streams
先看代码 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AsyncStream { class Program { static async Task Main(stri ...
分类:Windows程序   时间:2021-07-02 15:58:46    阅读次数:0
RT-Thread之线程实现就绪列表
1、定义就绪列表 线程创建好之后,我们需要把线程添加到就绪列表里面,表示线程已经就绪,系统随时可以调度。就绪列表在schedule.c中定义。 /* 线程就绪列表 */ rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX]; 就绪列表实 ...
分类:编程语言   时间:2021-07-01 16:21:18    阅读次数:0
vite 启动项目报错
vite2下载后npm 启动报错 背景: npm = 7.14.0 node.js = 16.0.0 报错信息如下: up to date in 1sPS D:\webdemo\vite\vite-project> npm run dev > dev> vite node:events:342 th ...
分类:其他好文   时间:2021-06-30 17:54:20    阅读次数:0
Scheduled定时任务
说明:SpringBoot使用@Scheduled创建定时任务 package com.lch.task; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.sc ...
分类:其他好文   时间:2021-06-28 17:53:36    阅读次数:0
1046 Shortest Distance (20 分)
The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of e ...
分类:其他好文   时间:2021-06-25 16:53:38    阅读次数:0
js事件循环机制(event loop)之宏任务/微任务
原文链接:https://blog.csdn.net/qq_33207292/article/details/102624553 1.关于js js是单线程的,即主线程就只有一个 2.js事件循环 除了广义的同步任务和异步任务,对任务更细致费划分: macro-task(宏任务):包括整体代码 sc ...
分类:Web程序   时间:2021-06-23 16:38:08    阅读次数:0
跳表-(b+树的变种)
参见:https://blog.csdn.net/pcwl1206/article/details/83512600?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none- ...
分类:其他好文   时间:2021-06-22 17:55:22    阅读次数:0
8574条   上一页 1 2 3 4 ... 858 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!