摘要:
引言 一、线程 1.1 普通的多线程1.2 自定义线程类1.3 线程锁1.3.1 未使用锁1.3.2 普通锁Lock和RLock1.3.3 信号量(Semaphore)1.3.4 事件(Event)1.3.5 条件(condition)1.3 全局解释器锁(GIL)1.4 定时器(Timer)1.5 阅读全文
posted @ 2017-05-28 21:03
soul.stone
阅读(400)
评论(0)
推荐(0)
摘要:
# coding=utf-8 import time import tkinter as tk ######################################################################## class Window: def __init__(self, title='nms', width=300, height=120, s... 阅读全文
posted @ 2017-05-28 20:50
soul.stone
阅读(318)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/hjslovewcl/archive/2011/03/16/2314330.html http://blog.csdn.net/lingfengtengfei/article/details/12392449 http://blog.csdn.net/t 阅读全文
posted @ 2017-05-28 13:32
soul.stone
阅读(235)
评论(0)
推荐(0)
摘要:
#include union { int number; char s; } test; int SYS_IS_BIGENDIAN() { test.number = 0x01000002; return (test.s == 0x01); } int main(int argc, char **argv) { if (SYS_IS_BI... 阅读全文
posted @ 2017-05-28 13:31
soul.stone
阅读(139)
评论(0)
推荐(0)
摘要:
http://server.zol.com.cn/240/2400564.html 1、 主板信息 查看主板的序列号 dmidecode | grep -i 'serial number' 2,、cpu信息 #通过/proc文件系统 1) cat /proc/cpuinfo #通过查看开机信息 2) 阅读全文
posted @ 2017-05-28 13:16
soul.stone
阅读(309)
评论(0)
推荐(0)

浙公网安备 33010602011771号