码迷,mamicode.com
首页 >  
搜索关键字:threads    ( 782个结果
How Arc works in Rust
The Atomic Reference Counter (Arc) type is a smart pointer that lets you share immutable data across threads in a thread-safe way. I couldn’t find any ...
分类:其他好文   时间:2021-01-01 12:32:52    阅读次数:0
Mysql常规维护操作
一、数据库状态查询 1.1、查看进程详情 show processlist; show full processlist; 1.2、数据库连接数 当前连接数 show status like '%threads_%'; 最大连接数 show variables like '%max_connecti ...
分类:数据库   时间:2021-01-01 12:06:29    阅读次数:0
硬件多线程
世界上最简单的处理器核心是什么样的?单核单线程! 现以GPU为例。 渲染1024个顶点,也就是1024个线程。渲染的Shader程序由两条指令组成,且都是算术逻辑指令。所有算术逻辑指令的执行都花费一个时钟周期。 FragThread threads[1024]; for (auto thread : ...
分类:编程语言   时间:2020-12-17 12:44:04    阅读次数:1
深入解读 Elasticsearch 热点线程 hot_threads
1、实战问题来源问题1:大佬们GET/_nodes/hot_threads查看热线程的这个API有没有讲解请求结果的文章呢?返回一堆堆栈看不懂......问题2:ES集群就一台机器CPU爆高,但IO、heap_mem都正常。咋搞?hot_thread我查了,报了一坨,SOS死磕Elasticsearch知识星球微信群于是就有了这篇文章。2、hot_threads干什么的?能吃吗?实战业务场景中,当
分类:编程语言   时间:2020-12-16 12:17:47    阅读次数:4
JavaSE---Concurrency
1、Processes and Threads In concurrent programming, there are two basic units of execution: processes and threads.(并发程序中,有2个基本的执行单位:进程、线程) 1.1、Processe ...
分类:编程语言   时间:2020-11-12 13:23:54    阅读次数:6
sql注入10:sqlmap常用参数3
二十、优化 20.1 一键优化 参数:-o 添加此参数相当于同时添加下列三个优化参数: 1.-keep-alive 2.-null-connection 3.-threads=3 20.2 HTTP长连接 参数:-keep-alive 该参数让sqlmap使用HTTP长连接。与“-proxy”矛盾 ...
分类:数据库   时间:2020-09-18 04:08:15    阅读次数:67
jmeter-2-测试常用配置&dashboard
1、测试常用配置 Number of Threads (users):模拟虚拟用户的个数 Ramp-up period (seconds) :上线所有Threads所用的时间。 Loop Count:每个Thread(user)请求url个数。(串行请求) 所以: 总请求次数 = Number of ...
分类:其他好文   时间:2020-09-17 22:12:01    阅读次数:36
muduo源码解析16-threadpool类
threadpool类: class threadpool:noncopyable { }; 作用: 利用mymuduo::thread 完成对于线程池的封装线程池内部成员:线程集合m_threads: 用于保存线程池内的所有线程线程池任务队列m_queue 表示待执行的任务队列条件变量:m_not ...
分类:其他好文   时间:2020-08-29 15:28:28    阅读次数:56
线程相关工具类
public class Threads { /** * sleep等待,单位为毫秒,忽略InterruptedException. */ public static void sleep(long millis) { try { Thread.sleep(millis); } catch (Int ...
分类:编程语言   时间:2020-07-27 23:33:18    阅读次数:73
进程与线程的理解
参考博文:http://www.ruanyifeng.com/blog/2013/04/processes_and_threads.html 1.什么是进程 我们都知道计算机的核心是CPU,它承担了所有的计算任务,而操作系统(操作系统主要的就是内核)是计算机的管理者,它负责任务的调度,资源的分配和管 ...
分类:编程语言   时间:2020-07-22 13:50:31    阅读次数:76
782条   上一页 1 2 3 4 ... 79 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!