说明:蓟
一个读-钍šAFE升两个实现用C着墨列表
hand_over_hand.c
A linked list that utilizes a hand-over-hand locking mechanism to ensure thread-safety.
single_lock.c
A linked list that utilizes a single lock for the entire list to ensure thread-safety.
为什么?
学校作业,但是它很简洁,我 <weixin_42117116> 上传 | 大小:5kb