Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 937 for dropm (0.19 sec)

  1. src/runtime/testdata/testprogcgo/dropm.go

    Russ Cox <******@****.***> 1638378945 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_libinit.c

    		nanosleep(&ts, nil);
    	}
    	return EAGAIN;
    }
    
    static void
    pthread_key_destructor(void* g) {
    	if (x_crosscall2_ptr != NULL) {
    		// fn == NULL means dropm.
    		// We restore g by using the stored g, before dropm in runtime.cgocallback,
    		// since the g stored in the TLS by Go might be cleared in some platforms,
    		// before this destructor invoked.
    		x_crosscall2_ptr(NULL, g, 0, 0);
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/runtime/cgo/callbacks.go

    //go:linkname _cgo_pthread_key_created _cgo_pthread_key_created
    var x_cgo_pthread_key_created byte
    var _cgo_pthread_key_created = &x_cgo_pthread_key_created
    
    // Export crosscall2 to a c function pointer variable.
    // Used to dropm in pthread key destructor, while C thread is exiting.
    
    //go:cgo_import_static x_crosscall2_ptr
    //go:linkname x_crosscall2_ptr x_crosscall2_ptr
    //go:linkname _crosscall2_ptr _crosscall2_ptr
    var x_crosscall2_ptr byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/runtime/asm_arm.s

    	//    since then we skip dropm to reuse the m in the first call.
    	MOVW	savedm-4(SP), R6
    	CMP	$0, R6
    	B.NE	done
    
    	// Skip dropm to reuse it in the next call, when a pthread key has been created.
    	MOVW	_cgo_pthread_key_created(SB), R6
    	// It means cgo is disabled when _cgo_pthread_key_created is a nil pointer, need dropm.
    	CMP	$0, R6
    	B.EQ	dropm
    	MOVW	(R6), R6
    	CMP	$0, R6
    	B.NE	done
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  5. src/runtime/os_wasm.go

    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    }
    
    // Called from dropm to undo the effect of an minit.
    func unminit() {
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    // wasm has no signals
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/runtime/asm_mips64x.s

    	//    since then we skip dropm to reuse the m in the first call.
    	MOVV	savedm-8(SP), R3
    	BNE	R3, droppedm
    
    	// Skip dropm to reuse it in the next call, when a pthread key has been created.
    	MOVV	_cgo_pthread_key_created(SB), R3
    	// It means cgo is disabled when _cgo_pthread_key_created is a nil pointer, need dropm.
    	BEQ	R3, dropm
    	MOVV	(R3), R3
    	BNE	R3, droppedm
    
    dropm:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  7. src/runtime/asm_loong64.s

    	//    since then we skip dropm to resue the m in the first call.
    	MOVV	savedm-8(SP), R12
    	BNE	R12, droppedm
    
    	// Skip dropm to reuse it in the next call, when a pthread key has been created.
    	MOVV	_cgo_pthread_key_created(SB), R12
    	// It means cgo is disabled when _cgo_pthread_key_created is a nil pointer, need dropm.
    	BEQ	R12, dropm
    	MOVV    (R12), R12
    	BNE	R12, droppedm
    
    dropm:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. src/runtime/asm_mipsx.s

    	//    since then we skip dropm to reuse the m in the first call.
    	MOVW	savedm-4(SP), R3
    	BNE	R3, droppedm
    
    	// Skip dropm to reuse it in the next call, when a pthread key has been created.
    	MOVW	_cgo_pthread_key_created(SB), R3
    	// It means cgo is disabled when _cgo_pthread_key_created is a nil pointer, need dropm.
    	BEQ	R3, dropm
    	MOVW	(R3), R3
    	BNE	R3, droppedm
    
    dropm:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/runtime/asm_386.s

    	//    since then we skip dropm to reuse the m in the first call.
    	MOVL	savedm-4(SP), DX
    	CMPL	DX, $0
    	JNE	droppedm
    
    	// Skip dropm to reuse it in the next call, when a pthread key has been created.
    	MOVL	_cgo_pthread_key_created(SB), DX
    	// It means cgo is disabled when _cgo_pthread_key_created is a nil pointer, need dropm.
    	CMPL	DX, $0
    	JEQ	dropm
    	CMPL	(DX), $0
    	JNE	droppedm
    
    dropm:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. src/runtime/asm_riscv64.s

    	//    since then we skip dropm to reuse the m in the first call.
    	MOV	savedm-8(SP), X5
    	BNE	ZERO, X5, droppedm
    
    	// Skip dropm to reuse it in the next call, when a pthread key has been created.
    	MOV	_cgo_pthread_key_created(SB), X5
    	// It means cgo is disabled when _cgo_pthread_key_created is a nil pointer, need dropm.
    	BEQ	ZERO, X5, dropm
    	MOV	(X5), X5
    	BNE	ZERO, X5, droppedm
    
    dropm:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
Back to top