1.模拟并发进程共享的临界资源m1、m2,它联系着两个信号量sem1、sem2. 2.模拟并发进程的运行现场:通用寄存器i,程序计数器addr. 3.模拟三个并发进程.-1. Simulation of the process of sharing with the critical resources m1 and m2, it is tied to the volume of two signals sem1, sem2. 2. Simulation of the process of running with the scene : Definitive register i, procedures counter addr. 3. Three concurrent simulation process.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001116s ]
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.060884s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001035s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001201s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000991s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003148s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000913s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003797s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015161s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001266s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 189321 [ RunTime:0.019726s ]