stack.go 381 B

1234567891011121314
  1. // Copyright 2011 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. package runtime
  5. const (
  6. // Goroutine preemption request.
  7. // Stored into g->stackguard0 to cause split stack check failure.
  8. // Must be greater than any real sp.
  9. // 0xfffffade in hex.
  10. stackPreempt = ^uintptr(1313)
  11. )