Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    		pthread_t tid;
    		pthread_create(&tid, 0, thread1, NULL);
    	}
    }
    
    void **nullptr;
    
    void *crash(void *p) {
    	*nullptr = p;
    	return 0;
    }
    
    int start_crashing_thread(void) {
    	pthread_t tid;
    	return pthread_create(&tid, 0, crash, 0);
    }
    */
    import "C"
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"runtime"
    	"sync/atomic"
    	"time"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 22:43:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top