- Sort Score
- Result 10 results
- Languages All
Results 41 - 44 of 44 for _exit (0.12 sec)
-
doc/go_mem.html
<p> calling <code>hello</code> will print <code>"hello, world"</code> at some point in the future (perhaps after <code>hello</code> has returned). </p> <h3 id="goexit">Goroutine destruction</h3> <p> The exit of a goroutine is not guaranteed to be synchronized before any event in the program. For example, in this program: </p> <pre> var a string func hello() { go func() { a = "hello" }() print(a)
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
misc/wasm/wasm_exec_node.js
require("./wasm_exec"); const go = new Go(); go.argv = process.argv.slice(2); go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env); go.exit = process.exit; WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => { process.on("exit", (code) => { // Node.js exits if no event handler is pending if (code === 0 && !go.exited) { // deadlock, make Go print error and stack traces
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Jan 30 18:49:42 GMT 2023 - 1.1K bytes - Viewed (0) -
src/clean.bash
set -e if [ ! -f run.bash ]; then echo 'clean.bash must be run from $GOROOT/src' 1>&2 exit 1 fi export GOROOT="$(cd .. && pwd)" gobin="${GOROOT}"/bin if ! "$gobin"/go help >/dev/null 2>&1; then echo 'cannot find go command; nothing to clean' >&2 exit 1 fi "$gobin/go" clean -i std "$gobin/go" tool dist clean
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 26 21:54:09 GMT 2020 - 518 bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
Ctxt: p.ctxt, As: obj.AFUNCDATA, Pos: p.pos(), From: valueAddr, To: nameAddr, } p.append(prog, "", true) } // asmJump assembles a jump instruction. // JMP R1 // JMP exit // JMP 3(PC) func (p *Parser) asmJump(op obj.As, cond string, a []obj.Addr) { var target *obj.Addr prog := &obj.Prog{ Ctxt: p.ctxt, Pos: p.pos(), As: op, } targetAddr := &prog.To
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0)