Kfifo源于Linux下的C源码,经封装成C++的CKfifo类
源文件:Kfifo.h 和 Kfifo.cpp
功能:具有互斥功能的BUF队列类。
编译环境: Visual Studio2008-Kfifo from the C source code under Linux, after packaging into a C++, CKfifo class source file: Kfifo.h and Kfifo.cpp functions: BUF queue with mutually exclusive features classes. Compiler Environment: Visual Studio2008
文 件 列 表
TestKfifo res TestKfifo Debug TestKfifo.sln TestKfifo.suo
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001065s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.099850s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.021225s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.009475s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001316s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.004081s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.002034s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.004799s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.019827s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.006511s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 58752 [ RunTime:0.019062s ]