github.com/likebike/go--@v0.0.0-20190911215757-0bd925d16e96/go/src/runtime/testdata/testprog/gettid_none.go (about)

     1  // Copyright 2017 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  // +build !linux
     6  
     7  package main
     8  
     9  func gettid() int {
    10  	return 0
    11  }
    12  
    13  func tidExists(tid int) (exists, supported bool) {
    14  	return false, false
    15  }