OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newtcb
(Results
1 - 4
of
4
) sorted by null
/prebuilts/go/darwin-x86/src/runtime/cgo/
gcc_openbsd_386.c
35
void *
newtcb
, *oldtcb;
local
41
newtcb
= malloc(TCB_SIZE + TLS_SIZE);
42
if(
newtcb
== NULL)
46
bzero(
newtcb
, TLS_SIZE);
49
bcopy(oldtcb,
newtcb
+ TLS_SIZE, TCB_SIZE);
50
__set_tcb(
newtcb
+ TLS_SIZE);
53
// problem. so
newtcb
will be memory leaks. Get rid of this when OpenBSD
gcc_openbsd_amd64.c
35
void *
newtcb
, *oldtcb;
local
41
newtcb
= malloc(TCB_SIZE + TLS_SIZE);
42
if(
newtcb
== NULL)
46
bzero(
newtcb
, TLS_SIZE);
49
bcopy(oldtcb,
newtcb
+ TLS_SIZE, TCB_SIZE);
50
__set_tcb(
newtcb
+ TLS_SIZE);
53
// problem. so
newtcb
will be memory leaks. Get rid of this when OpenBSD
/prebuilts/go/linux-x86/src/runtime/cgo/
gcc_openbsd_386.c
35
void *
newtcb
, *oldtcb;
local
41
newtcb
= malloc(TCB_SIZE + TLS_SIZE);
42
if(
newtcb
== NULL)
46
bzero(
newtcb
, TLS_SIZE);
49
bcopy(oldtcb,
newtcb
+ TLS_SIZE, TCB_SIZE);
50
__set_tcb(
newtcb
+ TLS_SIZE);
53
// problem. so
newtcb
will be memory leaks. Get rid of this when OpenBSD
gcc_openbsd_amd64.c
35
void *
newtcb
, *oldtcb;
local
41
newtcb
= malloc(TCB_SIZE + TLS_SIZE);
42
if(
newtcb
== NULL)
46
bzero(
newtcb
, TLS_SIZE);
49
bcopy(oldtcb,
newtcb
+ TLS_SIZE, TCB_SIZE);
50
__set_tcb(
newtcb
+ TLS_SIZE);
53
// problem. so
newtcb
will be memory leaks. Get rid of this when OpenBSD
Completed in 216 milliseconds