331 lines
No EOL
89 KiB
Text
331 lines
No EOL
89 KiB
Text
!<arch>
|
||
__.PKGDEF 0 0 0 644 2665 `
|
||
go object linux amd64 go1.5.1 X:none
|
||
build id "d62533a0cdec9232145aa634bee401c39816cbd7"
|
||
|
||
$$
|
||
package sync
|
||
import unsafe "unsafe"
|
||
import runtime "runtime"
|
||
import atomic "sync/atomic"
|
||
type @"".Locker interface { Lock(); Unlock() }
|
||
type @"".syncSema struct { @"".lock uintptr; @"".head @"unsafe".Pointer; @"".tail @"unsafe".Pointer }
|
||
type @"".copyChecker uintptr
|
||
func (@"".c·1 *@"".copyChecker) @"".check ()
|
||
type @"".Cond struct { L @"".Locker; @"".sema @"".syncSema; @"".waiters uint32; @"".checker @"".copyChecker }
|
||
func (@"".c·1 *@"".Cond) Broadcast ()
|
||
func (@"".c·1 *@"".Cond) Signal ()
|
||
func (@"".c·1 *@"".Cond) Wait ()
|
||
func (@"".c·1 *@"".Cond) @"".signalImpl (@"".all·2 bool)
|
||
func @"".NewCond (@"".l·2 @"".Locker) (? *@"".Cond) { return (&@"".Cond{ L:@"".l·2 }) }
|
||
type @"".Mutex struct { @"".state int32; @"".sema uint32 }
|
||
func (@"".m·1 *@"".Mutex) Lock ()
|
||
func (@"".m·1 *@"".Mutex) Unlock ()
|
||
type @"".Once struct { @"".m @"".Mutex; @"".done uint32 }
|
||
func (@"".o·1 *@"".Once) Do (@"".f·2 func() "esc:0x1")
|
||
type @"".poolLocal struct { @"".private interface {}; @"".shared []interface {}; ? @"".Mutex; @"".pad [128]byte }
|
||
type @"".Pool struct { @"".local @"unsafe".Pointer; @"".localSize uintptr; New func() (? interface {}) }
|
||
func (@"".p·2 *@"".Pool) Get () (? interface {})
|
||
func (@"".p·1 *@"".Pool) Put (@"".x·2 interface {})
|
||
func (@"".p·2 *@"".Pool) @"".getSlow () (@"".x·1 interface {})
|
||
func (@"".p·2 *@"".Pool) @"".pin () (? *@"".poolLocal)
|
||
func (@"".p·2 *@"".Pool) @"".pinSlow () (? *@"".poolLocal)
|
||
type @"".RWMutex struct { @"".w @"".Mutex; @"".writerSem uint32; @"".readerSem uint32; @"".readerCount int32; @"".readerWait int32 }
|
||
func (@"".rw·1 *@"".RWMutex) Lock ()
|
||
func (@"".rw·1 *@"".RWMutex) RLock ()
|
||
func (@"".rw·2 *@"".RWMutex "esc:0x12") RLocker () (? @"".Locker) { return (*@"".rlocker)(@"".rw·2) }
|
||
func (@"".rw·1 *@"".RWMutex) RUnlock ()
|
||
func (@"".rw·1 *@"".RWMutex) Unlock ()
|
||
type @"".WaitGroup struct { @"".state1 [12]byte; @"".sema uint32 }
|
||
func (@"".wg·1 *@"".WaitGroup) Add (@"".delta·2 int)
|
||
func (@"".wg·1 *@"".WaitGroup) Done ()
|
||
func (@"".wg·1 *@"".WaitGroup) Wait ()
|
||
func (@"".wg·2 *@"".WaitGroup "esc:0x12") @"".state () (? *uint64) { if uintptr(@"unsafe".Pointer(&@"".wg·2.@"".state1)) % 0x8 == 0x0 { return (*uint64)(@"unsafe".Pointer(&@"".wg·2.@"".state1)) } else { return (*uint64)(@"unsafe".Pointer(&@"".wg·2.@"".state1[0x4])) } }
|
||
func @"".init ()
|
||
type @"".rlocker struct { @"".w @"".Mutex; @"".writerSem uint32; @"".readerSem uint32; @"".readerCount int32; @"".readerWait int32 }
|
||
func (@"".r·1 *@"".rlocker) Lock ()
|
||
func (@"".r·1 *@"".rlocker) Unlock ()
|
||
|
||
$$
|
||
|