~push-gopher/golang/tip

« back to all changes in this revision

Viewing changes to misc/cgo/test/callback_c.c

  • Committer: Push Gopher
  • Author(s): Dmitriy Vyukov
  • Date: 2013-07-22 17:53:20 UTC
  • Revision ID: push-gopher@niemeyer.net-20130722175320-kn8841btw00o8p13
misc/cgo/test: add test for cgo callbacks with different amount of stack space available

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/11677043
HG=17353:f454ddfc8968

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        BackgroundSleep(n);
58
58
        return mysleep(n);
59
59
}
 
60
 
 
61
void
 
62
callGoStackCheck(void)
 
63
{
 
64
        extern void goStackCheck(void);
 
65
        goStackCheck();
 
66
}