多项选择题

A.Peterson算法
B.Test-and-Set(TS)指令
C.Swap或Exchange指令
D.信号量
E.分派器(Dispatcher)