- 博客(7)
- 资源 (3)
- 收藏
- 关注
原创 Windows API 多线程-学习笔记(一)
Windows API 多线程-学习笔记(一)一, winindows 下多线程的创建与撤销:windows 下多线程创建函数有两种,一种是调用系统API: CreateThread(), 另一种是调用C运行时函数库_beginthread()或_beginthreadex(),创建线程如果不再使用//函数原型://The thread object remains
2012-07-22 21:53:12
749
原创 Windows API 多线程-学习笔记(二)
Windows API 多线程-学习笔记(二)与windows 多线程相关的是:原子操作(不可中断的操作), 临界区(Critical Section非内核对象), 条件变量(Condition variables),互斥体(Mutexes 内核对象), 信号量(semaphores), 事件(events),等 还有wait 函数 , 线程局部存储(TLS), 异步I/O,线程池
2012-07-22 21:26:00
675
原创 mozilla code -nspr 文件I/O - 2
文件I/O #include 结构体:PRFileDesc 这个结构体太深奥了.再研究struct PRFileDesc { const PRIOMethods *methods; /* the I/O methods table */ //好像是函数指指的列表,也就是访问的函数的列表 PRFilePrivate *secret;
2012-06-24 22:52:38
831
原创 mozilla code -nspr 文件I/O - 1
This chapter describes the most common NSPR types, enumerations, and structures used with the functions described inChapter 10 "I/O Functions" and Chapter 11 "Network Addresses." These include the
2012-06-24 16:32:23
861
原创 mozilla code -nspr 线程同步
Thread synchronization has two aspects: locking and notification. Locking prevents access to some resource, such as a piece of shared data: that is, it enforces mutual exclusion. Notification involves
2012-05-29 09:09:47
772
原创 mozilla code nspr 多线程基础
多线程基础:所有的头文件在nspr4.h中包括了#include "prinit.h"//初始化nspr运行库,加载线程组件,在所有线程函数调用前使用NSPR_API(void) PR_Init( PRThreadType type, //线程类型 PRThreadPriority priority, //线程运行级别 PRUintn maxP
2012-05-23 19:55:35
935
转载 电信华为 HG526 破解 - 简易启用USB恢复
电信华为 HG526 破解 - 简易启用USB恢复<br /> 家里在用华为 HG526的ADSL,最近还是想把它破解出路由功能来<br /><br />看了很多破解文章,发现关键点就是把他的USB回复功能启用起来<br /><br />起来后就能用back文件来还原超级管理员密码了。 <br />本来用firefox 的油猴子的,后来发现对javascript的了解太少.并且写的代码运行时一直刷新.就没有再搞.但我相信这一条路一定会通的.<br />网上搜
2011-04-05 11:02:00
3078
任务管理器源代码
2008-05-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人