Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CgoExternalThreadPanic (0.14 sec)

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

    // license that can be found in the LICENSE file.
    
    //go:build !plan9
    // +build !plan9
    
    package main
    
    // void start(void);
    import "C"
    
    func init() {
    	register("CgoExternalThreadPanic", CgoExternalThreadPanic)
    }
    
    func CgoExternalThreadPanic() {
    	C.start()
    	select {}
    }
    
    //export gopanic
    func gopanic() {
    	panic("BOOM")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 428 bytes
    - Viewed (0)
Back to top