FIrst Submit.

Signed-off-by: shines77 <gz_shines@msn.com>
Fixed bugs.

Signed-off-by: shines77 <gz_shines@msn.com>
Fixed some bugs.

Signed-off-by: shines77 <gz_shines@msn.com>
Fixed some bugs.

Signed-off-by: shines77 <gz_shines@msn.com>
修正了很多bug.

Signed-off-by: shines77 <gz_shines@msn.com>
Minor modified.

Signed-off-by: shines77 <gz_shines@msn.com>
增加了test.h, 删除了无用的文件.

Signed-off-by: shines77 <gz_shines@msn.com>
增加了dump_mem()函数, 一些小的代码调整.

Signed-off-by: shines77 <gz_shines@msn.com>
一些小的调整.

Signed-off-by: shines77 <gz_shines@msn.com>
测试了自制的自旋锁spin_lock;

Signed-off-by: shines77 <gz_shines@msn.com>
实现真正的自旋锁的效果.

Signed-off-by: shines77 <gz_shines@msn.com>
大量的改进和调整.

Signed-off-by: shines77 <gz_shines@msn.com>
添加了sleep.c, 以及大量的修改, 完成最快的spin_mutex实现(Windows下).

Signed-off-by: shines77 <gz_shines@msn.com>
小改动.

Signed-off-by: shines77 <gz_shines@msn.com>
大量调整: 文件结构调整, 支持Visual Studio, 使用CMake管理项目, 加入pthread win32的模拟等.

Signed-off-by: shines77 <gz_shines@msn.com>
完成pthread win32的简单模拟;
其他一些小修改.

Signed-off-by: shines77 <gz_shines@msn.com>
现在已经可以用CMake生成项目了, 且修正了一个错误和bug;
添加了stdint.h, stdbool.h, inttypes.h等文件.

Signed-off-by: shines77 <gz_shines@msn.com>
Update .gitignore
Update .gitignore

Signed-off-by: shines77 <gz_shines@msn.com>
大量小调整, 完善了stdint.h, stdbool, inttypes.h在VS 2008,2013和MinGW的兼容性问题.

Signed-off-by: shines77 <gz_shines@msn.com>