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.

15 lines
218 B

  1. // +build !deadlock
  2. package sync
  3. import "sync"
  4. // A Mutex is a mutual exclusion lock.
  5. type Mutex struct {
  6. sync.Mutex
  7. }
  8. // An RWMutex is a reader/writer mutual exclusion lock.
  9. type RWMutex struct {
  10. sync.RWMutex
  11. }