aboutsummaryrefslogtreecommitdiffstats
path: root/erts/include/internal
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-10-21 17:43:32 +0200
committerLukas Larsson <[email protected]>2014-02-24 15:15:58 +0100
commit5dc2c6bfaed18e9a6cd23abe70be785599b5d9cc (patch)
tree0ccce81a707d93c14bca3cd01389d402cac3c77d /erts/include/internal
parent7e6cdce4925cd033812bbb9b9f113c1862225439 (diff)
downloadotp-5dc2c6bfaed18e9a6cd23abe70be785599b5d9cc.tar.gz
otp-5dc2c6bfaed18e9a6cd23abe70be785599b5d9cc.tar.bz2
otp-5dc2c6bfaed18e9a6cd23abe70be785599b5d9cc.zip
ose: Change get_envp to ose_get_ppdata for tsd
There is a system limit on the number of ppdata that is available but that should not be reached, and ppdata is faster than using get_envp.
Diffstat (limited to 'erts/include/internal')
-rw-r--r--erts/include/internal/ethread.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/erts/include/internal/ethread.h b/erts/include/internal/ethread.h
index 581eb22edb..7f3786ec63 100644
--- a/erts/include/internal/ethread.h
+++ b/erts/include/internal/ethread.h
@@ -210,11 +210,7 @@ typedef struct {
void *res;
} ethr_tid;
-struct ethr_tsd_key__ {
- PROCESS id;
- char key[];
-};
-typedef struct ethr_tsd_key__* ethr_tsd_key;
+typedef OSPPDKEY ethr_tsd_key;
#undef ETHR_HAVE_ETHR_SIG_FUNCS