Linux系统下的多线程遵循POSIX线程接口,称为 pthread。编写Linux下的多线程程序,需要使用头文件pthread.h,连接时需要使用库libpthread.a。顺便说一下,Linux 下pthread的实现是通过系统调用clone()来实现的。clone()是 Linux所特有的系统 ...
分类:
编程语言 时间:
2019-11-27 14:58:31
阅读次数:
108
英文原名:Wavelets: Seeing the forest and the trees 转:https://blog.csdn.net/deepdsp/article/details/7253400 原:http://yswhu.bokee.com/viewdiary.10391865.htm ...
分类:
其他好文 时间:
2019-11-27 12:13:37
阅读次数:
72
当你在开发微信公众号,微信小程序的时候,往往会遇到困难 进入服务器,输入 tail -f /var/log/apache2/error.log 看看apache2的日志 就因为php 的curl扩展没安装缺啥安装啥就好了 安装curl 看看你的是什么版喔 sudo apt-get install c ...
分类:
Web程序 时间:
2019-11-27 01:02:33
阅读次数:
93
SQLServer数据批量导入的几种方式 说到SQLServer 的数据批量导入,下面用常用的几种方式做下对比,后面详细介绍每种方式如何使用(本文的代码使用语言c ) | 导入方式 | 是否需写代码 | 导入过程能否对数据加工 | 插入数据的速度 | 多表数据导入 | 是否必需写SQL语句 | | ...
分类:
数据库 时间:
2019-11-27 00:26:55
阅读次数:
401
Linux下可以使用free命令查看内存使用情况,也可以使用cat /proc/meminfo命令查看更为详细的内存使用信息。 其中,对于MemAvailable这个参数添加的原因,可以参考kernel这个git commit说明,其实已经很清楚了。 https://git.kernel.org/p ...
分类:
系统相关 时间:
2019-11-26 22:54:54
阅读次数:
161
做为开发人员对数据库事务应该都不陌生,但是如果知其然而不知其所以然的话,在开发中难免写出来的代码存在bug,本文主要介绍mysql中的事务,重点讲解事务的隔离级别。1.ACID1.1原子性原子性是指事务是一个不可分割的工作单位,事务中的操作要么全部执行,要么全部都不执行。例如:begin//开启事务A:updateusersetaccount=account+1whereid=1;B:update
分类:
数据库 时间:
2019-11-26 20:00:16
阅读次数:
127
Description Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Given linked list head = [4,5 ...
分类:
其他好文 时间:
2019-11-26 13:39:31
阅读次数:
53
https://www.cnblogs.com/cdp1591652208/p/6971386.html https://blog.csdn.net/qq_18152813/article/details/81207539 ...
分类:
编程语言 时间:
2019-11-25 13:42:22
阅读次数:
54
mixin定义(使用@mixin定义): @mixin hexagon-generator($hexagon-width, $factor, $border-radius){ display: inline-block; border-radius: 50%; width: ($hexagon-wi ...
分类:
Web程序 时间:
2019-11-25 13:16:31
阅读次数:
172
有两种实现方法: 1.如果针对某个特定的div,那么修改样式即可: 2.如果对于整个页面,那么添加如下js代码: 转: https://blog.csdn.net/u014520745/article/details/52606454/ ...
分类:
移动开发 时间:
2019-11-25 11:37:42
阅读次数:
84