Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for printunlock (0.36 sec)

  1. src/runtime/debuglog.go

    	// the fatal panic path and this may deadlock.
    
    	printlock()
    
    	// Get the list of all debug logs.
    	allp := (*uintptr)(unsafe.Pointer(&allDloggers))
    	all := (*dlogger)(unsafe.Pointer(atomic.Loaduintptr(allp)))
    
    	// Count the logs.
    	n := 0
    	for l := all; l != nil; l = l.allLink {
    		n++
    	}
    	if n == 0 {
    		printunlock()
    		return
    	}
    
    	// Prepare read state for all logs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func printstring(string)
    func printpointer(any)
    func printuintptr(uintptr)
    func printiface(any)
    func printeface(any)
    func printslice(any)
    func printnl()
    func printsp()
    func printlock()
    func printunlock()
    
    func concatstring2(*[32]byte, string, string) string
    func concatstring3(*[32]byte, string, string, string) string
    func concatstring4(*[32]byte, string, string, string, string) string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/builtin.go

    	{"printuintptr", funcTag, 31},
    	{"printiface", funcTag, 30},
    	{"printeface", funcTag, 30},
    	{"printslice", funcTag, 30},
    	{"printnl", funcTag, 9},
    	{"printsp", funcTag, 9},
    	{"printlock", funcTag, 9},
    	{"printunlock", funcTag, 9},
    	{"concatstring2", funcTag, 34},
    	{"concatstring3", funcTag, 35},
    	{"concatstring4", funcTag, 36},
    	{"concatstring5", funcTag, 37},
    	{"concatstrings", funcTag, 39},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. doc/asm.html

    	0x001d 00029 (x.go:4)	PCDATA	$0, $0
    	0x001d 00029 (x.go:4)	PCDATA	$1, $0
    	0x001d 00029 (x.go:4)	CALL	runtime.printlock(SB)
    	0x0022 00034 (x.go:4)	MOVQ	$3, (SP)
    	0x002a 00042 (x.go:4)	CALL	runtime.printint(SB)
    	0x002f 00047 (x.go:4)	CALL	runtime.printnl(SB)
    	0x0034 00052 (x.go:4)	CALL	runtime.printunlock(SB)
    	0x0039 00057 (x.go:5)	MOVQ	8(SP), BP
    	0x003e 00062 (x.go:5)	ADDQ	$16, SP
    	0x0042 00066 (x.go:5)	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  5. src/cmd/compile/internal/walk/builtin.go

    		if params := on.Type().Params(); len(params) > 0 {
    			t := params[0].Type
    			n = typecheck.Conv(n, t)
    			r.Args.Append(n)
    		}
    		calls = append(calls, r)
    	}
    
    	calls = append(calls, mkcall("printunlock", nil, init))
    
    	typecheck.Stmts(calls)
    	walkExprList(calls, init)
    
    	r := ir.NewBlockStmt(base.Pos, nil)
    	r.List = calls
    	return walkStmt(typecheck.Stmt(r))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. src/runtime/lockrank_on.go

    // even though l is not actually locked yet.
    func lockWithRank(l *mutex, rank lockRank) {
    	if l == &debuglock || l == &paniclk || l == &raceFiniLock {
    		// debuglock is only used for println/printlock(). Don't do lock
    		// rank recording for it, since print/println are used when
    		// printing out a lock ordering problem below.
    		//
    		// paniclk is only used for fatal throw/panic. Don't do lock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    	}
    	return &Shell{shellShared: shared}
    }
    
    // Print emits a to this Shell's output stream, formatting it like fmt.Print.
    // It is safe to call concurrently.
    func (sh *Shell) Print(a ...any) {
    	sh.printLock.Lock()
    	defer sh.printLock.Unlock()
    	sh.printFunc(a...)
    }
    
    func (sh *Shell) printLocked(a ...any) {
    	sh.printFunc(a...)
    }
    
    // WithAction returns a Shell identical to sh, but bound to Action a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/runtime/mgcsweep.go

    //
    // 3. The GC two cycles ago missed a pointer and freed a live object,
    // but it was still live in the last cycle, so this GC cycle found a
    // pointer to that object and marked it.
    func (s *mspan) reportZombies() {
    	printlock()
    	print("runtime: marked free object in span ", s, ", elemsize=", s.elemsize, " freeindex=", s.freeindex, " (bad use of unsafe.Pointer? try -d=checkptr)\n")
    	mbits := s.markBitsForBase()
    	abits := s.allocBitsForIndex(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. src/runtime/trace.go

    			if g2 := traceReader(); gp == g2 {
    				// New data arrived between unlocking
    				// and the CAS and we won the wake-up
    				// race, so wake up directly.
    				return false
    			} else if g2 != nil {
    				printlock()
    				println("runtime: got trace reader", g2, g2.goid)
    				throw("unexpected trace reader")
    			}
    
    			return true
    		}, nil, waitReasonTraceReaderBlocked, traceBlockSystemGoroutine, 2)
    		goto top
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	profilehz     int32
    	spinning      bool // m is out of work and is actively looking for work
    	blocked       bool // m is blocked on a note
    	newSigstack   bool // minit on C thread called sigaltstack
    	printlock     int8
    	incgo         bool          // m is executing a cgo call
    	isextra       bool          // m is an extra m
    	isExtraInC    bool          // m is an extra m that is not executing Go code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top