Java 应用与开发 - 线程编程
进程一般由程序段、数据段和进程控制块三部分构成进程 实体。 大纲 线程基础 线程控制 线程的同步 相关知识回顾 什么是线程 根据多任务原理,在一个程序内部也可以实现多个任务(顺序控 制流)的并发执行,其中每个任务被称为线程(Thread)。更专 业的表述为: 线程是程序内部的顺序控制流。 大纲 线程基础 线程控制 线程的同步 相关知识回顾 线程和进程的区别和联系 代码 数据 进程空间 打开文件 寄存器 栈 线程 1 。 大纲 线程基础 线程控制 线程的同步 相关知识回顾 多核与多线程 ▶ 多核处理器是指在一个处理器上集成多个运算核心以提高并 行计算能力,每一个处理核心对应一个内核线程(Kernel Thread,KLT)。 ▶ 内核线程是直接由操作系统内核支持的线程,由内核来完成 线程切换,内核通过操作调度器对线程进行调度,并负责将 线程的任务映射到各个处理器上。 大纲 线程基础 线程控制 线程的同步 线程的概念模型 Java 线程的概念模型 在 Java 语言中,多线程的机制通过虚拟 CPU 来实现。 1. 虚拟的 CPU,由 java.lang.Thread 类封装和虚拟; 2. CPU 所执行的代码和数据,传递给 Thread 类对象。 代码 数据 虚拟CPU 大纲 线程基础 线程控制 线程的同步 创建线程 ���� 线程基础 相关知识回顾 线程的概念模型 创建线程0 码力 | 82 页 | 1010.73 KB | 1 年前3Apache ActiveMQ Artemis 1.2.0 User Manual
41. High Availability and Failover 42. Graceful Server Shutdown 43. Libaio Native Libraries 44. Thread management 45. Logging 46. REST Interface 47. Embedding Apache ActiveMQ Artemis 48. Spring Integration on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small on the server side are executed on the remoting thread. These packets represent short-running operations and are always executed on the remoting thread for performance reasons. However, by default some0 码力 | 244 页 | 1.46 MB | 1 年前3Apache ActiveMQ Artemis 1.3.0 User Manual
41. High Availability and Failover 42. Graceful Server Shutdown 43. Libaio Native Libraries 44. Thread management 45. Logging 46. REST Interface 47. Embedding Apache ActiveMQ Artemis 48. Apache Karaf on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small on the server side are executed on the remoting thread. These packets represent short-running operations and are always executed on the remoting thread for performance reasons. However, by default some0 码力 | 247 页 | 1.47 MB | 1 年前3Apache ActiveMQ Artemis 1.1.0 User Manual
41. High Availability and Failover 42. Graceful Server Shutdown 43. Libaio Native Libraries 44. Thread management 45. Logging 46. REST Interface 47. Embedding Apache ActiveMQ Artemis 48. Spring Integration on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small on the server side are executed on the remoting thread. These packets represent short-running operations and are always executed on the remoting thread for performance reasons. However, by default some0 码力 | 234 页 | 1.40 MB | 1 年前3Apache ActiveMQ Artemis 2.4.0 User Manual
Detection Clusters High Availability and Failover Graceful Server Shutdown Libaio Native Libraries Thread management Logging REST Interface Embedding Apache ActiveMQ Artemis Apache Karaf Spring Integration on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small check-period will be removed from running broker after reloading. (meaning the slow consumer checker thread will be cancelled) The slow-consumer-check-period will be updated after reloading.0 码力 | 265 页 | 2.84 MB | 1 年前3Apache ActiveMQ Artemis 2.3.0 User Manual
Detection Clusters High Availability and Failover Graceful Server Shutdown Libaio Native Libraries Thread management Logging REST Interface Embedding Apache ActiveMQ Artemis Apache Karaf Spring Integration on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small check-period will be removed from running broker after reloading. (meaning the slow consumer checker thread will be cancelled) The slow-consumer- check-period will be updated after reloading.0 码力 | 420 页 | 3.03 MB | 1 年前3Apache ActiveMQ Artemis 1.4.0 User Manual
Detection Clusters High Availability and Failover Graceful Server Shutdown Libaio Native Libraries Thread management Logging REST Interface Embedding Apache ActiveMQ Artemis Apache Karaf Spring Integration on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small on the server side are executed on the remoting thread. These packets represent short-running operations and are always executed on the remoting thread for performance reasons. However, by default some0 码力 | 389 页 | 1.59 MB | 1 年前3Apache ActiveMQ Artemis 2.6.0 User Manual
Detection Clusters High Availability and Failover Graceful Server Shutdown Libaio Native Libraries Thread management Logging REST Interface Embedding Apache ActiveMQ Artemis 2 1.58 1.59 1.60 1.61 on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small check-period will be removed from running broker after reloading. (meaning the slow consumer checker thread will be cancelled) The slow-consumer- check-period will be updated after reloading.0 码力 | 445 页 | 3.14 MB | 1 年前3Apache ActiveMQ Artemis 2.1.0 User Manual
Detection Clusters High Availability and Failover Graceful Server Shutdown Libaio Native Libraries Thread management Logging REST Interface Embedding Apache ActiveMQ Artemis Apache Karaf Spring Integration on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small on the server side are executed on the remoting thread. These packets represent short-running operations and are always executed on the remoting thread for performance reasons. However, by default some0 码力 | 407 页 | 1.93 MB | 1 年前3Apache ActiveMQ Artemis 1.5.5 User Manual
Detection Clusters High Availability and Failover Graceful Server Shutdown Libaio Native Libraries Thread management Logging REST Interface Embedding Apache ActiveMQ Artemis Apache Karaf Spring Integration on the server and is delivered to waiting consumers, by default, the delivery is done on the same thread as that on which the message arrived. This gives good latency in environments with relatively small on the server side are executed on the remoting thread. These packets represent short-running operations and are always executed on the remoting thread for performance reasons. However, by default some0 码力 | 399 页 | 1.61 MB | 1 年前3共 374 条- 1
- 2
- 3
- 4
- 5
- 6
- 38