Source file src/crypto/tls/bogo_shim_unix_test.go

     1  // Copyright 2025 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build unix && !wasm
     6  
     7  package tls
     8  
     9  import (
    10  	"os"
    11  	"syscall"
    12  )
    13  
    14  func pauseProcess() {
    15  	pid := os.Getpid()
    16  	process, _ := os.FindProcess(pid)
    17  	process.Signal(syscall.SIGSTOP)
    18  }
    19  

View as plain text