Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for destructors (2.24 sec)

  1. src/runtime/race.go

    	// already held it's assumed that the first caller exits the program
    	// so other calls can hang forever without an issue.
    	lock(&raceFiniLock)
    
    	// __tsan_fini will run C atexit functions and C++ destructors,
    	// which can theoretically call back into Go.
    	// Tell the scheduler we entering external code.
    	entersyscall()
    
    	// We're entering external code that may call ExitProcess on
    	// Windows.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	return sb.String()
    }
    
    // Destructor is a destructor.
    type Destructor struct {
    	Name AST
    }
    
    func (d *Destructor) print(ps *printState) {
    	ps.writeByte('~')
    	ps.print(d.Name)
    }
    
    func (d *Destructor) Traverse(fn func(AST) bool) {
    	if fn(d) {
    		d.Name.Traverse(fn)
    	}
    }
    
    func (d *Destructor) Copy(fn func(AST) AST, skip func(AST) bool) AST {
    	if skip(d) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    					next = st.demangleType(false)
    				} else {
    					if len(st.str) < 2 {
    						st.fail("expected destructor type")
    					}
    					if last == nil {
    						st.fail("destructor before name is seen")
    					}
    					st.advance(2)
    					next = &Destructor{Name: getLast(last)}
    					if len(st.str) > 0 && st.str[0] == 'B' {
    						next = st.taggedName(next)
    					}
    				}
    			case 'S':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    // to register a thread-exit-time destructor.
    // We are here setting the thread-specific value of the pthread key, to enable the destructor.
    // So that the pthread_key_destructor would dropm while the C thread is exiting.
    //
    // And the saved g will be used in pthread_key_destructor,
    // since the g stored in the TLS by Go might be cleared in some platforms,
    // before the destructor invoked, so, we restore g by the stored g, before dropm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top