网志档案列表:12 / 2009

get thread id in pthread @ 12/19/2009

Thread ID starting from 0 is useful when writing multi-threaded program. In OpenMP, you can simply use omp_get_thread_num() to g...
发布于 12/19/2009 21:49:57 | 评论:0

three ways of saying "count lines of code of my project" @ 12/4/2009

C++ code: [code] // C++ code, counts all *.java code in a directory #include <stddef.h> #include <stdio.h> #include <sys/types....
发布于 12/4/2009 10:18:21 | 评论:1