local cs = queue() -- cs 是一个执行队列 local CMD = {} function CMD.foobar() cs(func1) -- push func1 into critical section end
如果fuc1带参数怎么传入呢?