OpenCV(Open Source Computer Vision Library) is the world’s biggest computer vision library. OpenCV is open source, contains over 2500 algorithms, and is operated by the non-profit Open Source Vision Foundation.
$ man pthread_cond_init | col -b > pthread_cond.man
得到manual中的描述:
A condition (short for ‘’condition variable’’) is a synchronization device that allows threads to suspend execution and relinquish the processors until some predicate on shared data is satisfied. The basic operations on conditions are: signal the condition(when the predicate becomes true), and wait for the condition, suspending the thread execution until another thread signals the condition.
structtm { int tm_sec; // 代表目前秒数,正常范围0-59,但允许至61秒; int tm_min; // 代表目前分数,范围为0-59。 int tm_hour; // 从午夜算起的小时数,范围为0-23。 int tm_mday; // 目前月份的日数,范围为1-31。 int tm_mon; // 代表目前月份,从一月算起,范围为0-11。 int tm_year; // 从1900年算起至今的年数。比如(时间戳1970-01-02 10:23:09,该值为70)。 int tm_wday; // 一星期中的日数,从星期日算起,范围为0-6。 int tm_yday; // 从1月1日算起至今的天数,范围为:0-365。 int tm_isdst; // 日光节约时间的旗标。 };