线程与进程 线程 线程是操作系统能够进行运算调度的最小单位。它被包含在进程之中,是进程中的实际运作单位。一条线程指的是进程中一个单一顺序的控制流,一个进程中可以并发多个线程,每条线程并行执行不同的任务。 进程 An executing instance of a program is called ...
分类:
编程语言 时间:
2018-05-03 23:32:54
阅读次数:
205
ioctl is used in communication with modules of Linux. Module: User space In case of Makefile is needed: ...
分类:
其他好文 时间:
2018-05-03 19:35:13
阅读次数:
205
Python协程:从yield/send到async/await 转自 http://python.jobbole.com/86069/ <!-- JiaThis Button BEGIN --><!-- JiaThis Button END --> 转自 http://python.jobbole ...
分类:
编程语言 时间:
2018-05-03 16:33:58
阅读次数:
228
t’s universally acknowledged that there’re innumerable trees in the campus of HUST. Thus a professional tree manager is needed. Your task is to write ...
分类:
其他好文 时间:
2018-04-30 19:46:46
阅读次数:
155
log file switch (archiving needed) 等待事件
分类:
其他好文 时间:
2018-04-15 13:41:38
阅读次数:
247
[root@xx nginx-1.8.0]# makemake: *** No rule to make target `build', needed by `default'. Stop. [root@xx nginx-1.8.0]# 解决办法是需要安装openssl以及ncurses组件 yum ...
分类:
其他好文 时间:
2018-04-15 11:59:26
阅读次数:
1944
前言 HashMap source code view 类注释 Hash table based implementation of the Map interface. This implementation provides all of the optional map operations, ...
分类:
其他好文 时间:
2018-04-12 21:00:24
阅读次数:
215
概述 UWP Community Toolkit 中有一个为 Frmework Element 提供投影效果的控件 - DropShadowPanel,本篇我们结合代码详细讲解 DropShadowPanel 的实现。 DropShadowPanel 提供的阴影效果有很多应用场景,比如给文本提供阴影 ...
分类:
编程语言 时间:
2018-04-06 18:37:36
阅读次数:
305
MongoDB 提供了 linux 各发行版本 64 位的安装包,你可以在官网下载安装包。 下载地址:https://www.mongodb.com/download-center#community 下载完安装包,并解压 tgz(以下演示的是 64 位 Linux上的安装) 。 MongoDB 的 ...
分类:
数据库 时间:
2018-03-28 01:39:49
阅读次数:
196
首先需要安装一下nodemailer #nmp nodemailer install --save 然后就参照官方文档的例程改写一下就行了,代码如下: 赘述一下:nodemailer的官网在 https://nodemailer.com/about/ ,一般看原文比网文靠谱。 ...
分类:
Web程序 时间:
2018-03-25 10:38:00
阅读次数:
4252