Skip to content

客户端版本号在互斥锁中无实际意义,建议优化或移除 #1

Description

@marsxuefeng

问题描述:
当前互斥锁实现中维护的客户端版本号字段在实际使用中并无明确功能意义。该版本号既不用于:

  1. 锁的状态验证
  2. 线程唤醒操作与线程挂起操作先后顺序验证

建议方案:

  1. 如果无实际用途,考虑移除该字段

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions