For the implementation of the model, threads and synchronization primitives ( lock, barrier) are used to maintain a structure of write-notice-record, and a structure of clustered wake-up threads set ( CWTS) is defined. 在内核级实现线程一致性模型时,线程及同步原语(锁、栅栏)都维护一个写记录,同时定义了同构唤醒线程簇。