自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (3)
  • 收藏
  • 关注

原创 Windows API 多线程-学习笔记(一)

Windows API 多线程-学习笔记(一)一, winindows 下多线程的创建与撤销:windows 下多线程创建函数有两种,一种是调用系统API: CreateThread(), 另一种是调用C运行时函数库_beginthread()或_beginthreadex(),创建线程如果不再使用//函数原型://The thread object remains

2012-07-22 21:53:12 701

原创 Windows API 多线程-学习笔记(二)

Windows API 多线程-学习笔记(二)与windows 多线程相关的是:原子操作(不可中断的操作), 临界区(Critical Section非内核对象), 条件变量(Condition variables),互斥体(Mutexes 内核对象), 信号量(semaphores), 事件(events),等 还有wait 函数 , 线程局部存储(TLS), 异步I/O,线程池

2012-07-22 21:26:00 635

原创 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 773

原创 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 808

原创 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 712

原创 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 875

转载 电信华为 HG526 破解 - 简易启用USB恢复

电信华为 HG526 破解 - 简易启用USB恢复<br /> 家里在用华为 HG526的ADSL,最近还是想把它破解出路由功能来<br /><br />看了很多破解文章,发现关键点就是把他的USB回复功能启用起来<br /><br />起来后就能用back文件来还原超级管理员密码了。 <br />本来用firefox 的油猴子的,后来发现对javascript的了解太少.并且写的代码运行时一直刷新.就没有再搞.但我相信这一条路一定会通的.<br />网上搜

2011-04-05 11:02:00 2930 1

C++stl中文件简体版---侯捷著

侯 捷 著 这本书不适合 C++ 初学者,不适合 Genericity(泛型技术)初学者,或 STL 初 学者。这本书也不适合带领你学习对象导向(Object Oriented)技术 — 是的,STL 与对象导向没有太多关连。

2008-10-21

任务管理器源代码

有点像微软的源码,我也不清楚!反正不错了.<br><br><br>INT_PTR CALLBACK MainWindowProc(<br> HWND hwnd, // handle to dialog box<br> UINT uMsg, // message<br> WPARAM wParam, // first message parameter<br> LPARAM lParam // second message parameter<br> )<br>{<br> static BOOL fIsHidden = FALSE;<br><br> // If this is a size or a move, update the position in the user's options<br><br> if (uMsg == WM_SIZE || uMsg == WM_MOVE)<br> {<br> // We don't want to start recording the window pos until we've had<br> // a chance to set it to the intialial position, or we'll lose the<br> // user's preferences<br><br> if (fAlreadySetPos)<br> if (!IsIconic(hwnd) && !IsZoomed(hwnd))<br> GetWindowRect(hwnd, &g_Options.m_rcWindow);<br> }<br>

2008-05-23

windows api

WindowsAPI For 2000&xp

2007-10-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除