You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
265 B

  1. // +build deadlock
  2. package sync
  3. import (
  4. deadlock "github.com/sasha-s/go-deadlock"
  5. )
  6. // A Mutex is a mutual exclusion lock.
  7. type Mutex struct {
  8. deadlock.Mutex
  9. }
  10. // An RWMutex is a reader/writer mutual exclusion lock.
  11. type RWMutex struct {
  12. deadlock.RWMutex
  13. }