登录
首页 » 算法 » 线程池实现

线程池实现

于 2022-03-17 发布 文件大小:9.09 kB
0 215
下载积分: 2 下载次数: 1

代码说明:

类池管理来自客户端的请求。 管理是存储在一个优先队列中的请求,在并行执行它们。 在并行执行的请求的最大数目是最大值-变量的构造函数。 Run 的函数打开一个新的线程调用的主线程,做管理工作的。 池中添加一个新的请求进行排队功能,此函数是线程安全的。 等待函数被阻塞直到所有 (或特定请求) 的要求也都结束了。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 巴斯角三角形
    经典算法巴斯角三角形的实现,类似中国古代的杨辉三角#include #define N 12 long combi(int n, int r){     int i;     long p = 1;     for(i = 1; i
    2022-12-16 03:55:02下载
    积分:1
  • A program to demonstrate the optimization process of particle swarm optimization...
    A program to demonstrate the optimization process of particle swarm optimization. A two-dimensional objective function is visualized by level of grey: the lighter the color, the higher the function value. The particles are shown as red circles, their trajectory as red lines.-A program to demonstrate the optimization process of particle swarm optimization. A two- dimensional objective function is visualized by level of gray : the lighter the color, the higher the value function. The particles ar e shown as red circles. their trajectory as red lines.
    2022-10-27 02:55:03下载
    积分:1
  • 常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与
    常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
    2022-08-04 05:36:45下载
    积分:1
  • 32比特整数与16比特整数相除的一种方法
    32比特整数与16比特整数相除的一种方法-32-bit integer and 16-bit integer eliminate a method
    2022-08-20 12:39:25下载
    积分:1
  • 包括基本概念,数学规划的分析方法,B。
    包括基本概念,数学规划的解析法,基本构件优化设计,线性规划,桁架优化设计,连续梁和钢架的优化设计,非线性规划在结构优化设计中的应用,动态规划,几何规划,结构动力优化-Including basic concepts, the analytic method of mathematical programming, the basic components to optimize the design, linear programming, optimization of truss design, steel beams and continuous optimization of the design, non-linear programming in structural optimization and design, dynamic programming, geometric programming, structural dynamics Optimization
    2022-08-13 22:32:11下载
    积分:1
  • 欧拉算法
    以近似初值问题的解决方案: * Y" = F(T,Y),A < = T < = B,Y(A) = 阿尔法, * 在 N + 1 间隔相等的点在区间 [A,B]。 * * 输入: 终结点 A、 B ;阿尔法最初的状况 ;整数 N。 * * 输出: 逼近到 (N + 1) 在 Y W 值 T。
    2022-07-26 00:49:47下载
    积分:1
  • 购物车
    java购物车项目源代码,比较简单,初级搜索和下载开源项目/源代码
    2022-03-24 15:40:04下载
    积分:1
  • PID 控制器设计的遗传算法与神经网络 LVQ 精馏塔与 MATLA
    在这个项目中,PID控制器为精馏(精馏)使用遗传算法inMATLABis可供免费下载.项目网站is不再公开发售价格高.免费下载.
    2022-06-29 08:02:27下载
    积分:1
  • Anderson CFD 第七章Fortran程序
    针对Anderson教材第七章相关章节(7.3&7.4)书写的Fortran程序,和书本上的结果进行了对比,程序运行正确。使用最新的Fortran语法书写,方便阅读;
    2022-10-25 17:25:03下载
    积分:1
  • 这是关于支持向量机SVM方面的代码,大家可以用一下
    这是关于支持向量机SVM方面的代码,大家可以用一下-on support vector machines SVM area code, we can use this
    2022-09-09 01:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载