码迷,mamicode.com
首页 >  
搜索关键字:threads    ( 782个结果
【面试题2020-03-24】Java线程池七个参数详解
/** * Creates a new {@code ThreadPoolExecutor} with the given initial * parameters. * * @param corePoolSize the number of threads to keep in the pool, ...
分类:编程语言   时间:2020-03-24 18:48:09    阅读次数:100
Python GIL(Global Interpreter Lock)
一,介绍 定义: In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple native threads from executing Python bytecodes at once. Th ...
分类:编程语言   时间:2020-03-18 23:43:44    阅读次数:76
Spring Boot 学习之路二 配置文件 application.yml
一、创建配置文件 如图所示,我们在resources文件夹中新建配置文件application.yml 结构图 二、一些基本配置 server: port: 8090 //配置端口 session-timeout: 30 tomcat.max-threads: 0 tomcat.uri-encodi ...
分类:移动开发   时间:2020-02-26 10:28:04    阅读次数:115
进程与线程 及之间通信
进程 线程 许多线程构成进程,或者说,线程再进程内实现,线程们共享进程的资源,对于互斥资源来说,使用锁和信号量来保证使用, https://www.ruanyifeng.com/blog/2013/04/processes_and_threads.html 进程间的通信方式 管道,消息队列,信号量, ...
分类:编程语言   时间:2020-02-23 09:38:13    阅读次数:68
mysql查询和修改最大连接数
查看最大连接数: show variables like 'max_connect%'; 查看当前连接数: show status like 'Threads%'; 修改mysql的连接数: vim /etc/my.cnf [mysqld] #设置编码格式 [mysqld] #设置编码格式 char ...
分类:数据库   时间:2020-02-13 23:22:50    阅读次数:146
python--多线程的应用
python 多线程执行函数,以及调用函数时传参 import threading def func1(): print('this is function1') def func2(x,y): print('this is function2') print(x+y) threads = [] t ...
分类:编程语言   时间:2020-02-13 14:58:23    阅读次数:70
Needleless Injection Site -How To Solve: Stuck Needleless Connector
Prior to using the new needleless connector, cleaning the Luer lock threads of the female catheter connector is now very important. All nurses have be ...
分类:其他好文   时间:2020-02-13 14:31:39    阅读次数:69
LeetCode 1117. Building H2O
原题链接在这里:https://leetcode.com/problems/building-h2o/ 题目: There are two kinds of threads, oxygen and hydrogen. Your goal is to group these threads to fo ...
分类:其他好文   时间:2020-02-13 10:02:55    阅读次数:76
jmeter性能测试2:基础功能介绍
对于英语不好的同学建议先改为简体中文再进行使用 1、添加->threads->线程组(控制总体并发) 线程数:虚拟用户数。一个虚拟用户占用一个进程或线程 准备时长(Ramp-Up Period(in seconds)):全部线程启动的时长,比如100个线程,20秒,则表示20秒内100个线程都要启动 ...
分类:其他好文   时间:2020-02-12 12:34:23    阅读次数:74
kafka的server.properties配置文件详细说明
server.properties配置文件参数说明 必配置属性 每个kafka broker中配置文件server.properties默认必须配置的属性如下: broker.id=0 num.network.threads=2 num.io.threads=8 socket.send.buffer ...
分类:其他好文   时间:2020-02-10 14:09:03    阅读次数:115
782条   上一页 1 ... 3 4 5 6 7 ... 79 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!