Closed Medowhill closed 3 years ago
Closes #539
RawSleeplock이 acquire와 release할 때 KernelCtx를 인자로 받습니다. 이제 RawSleeplock이 RawLock을 구현하지 않습니다. 이렇게 해도 코드 중복이 많아 보이지는 않습니다.
RawSleeplock
acquire
release
KernelCtx
RawLock
bors r+
Build succeeded:
Closes #539
RawSleeplock
이acquire
와release
할 때KernelCtx
를 인자로 받습니다. 이제RawSleeplock
이RawLock
을 구현하지 않습니다. 이렇게 해도 코드 중복이 많아 보이지는 않습니다.