projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2947739
)
[profiler] Fix PROF_TLS_FREE () on pthread TLS systems.
author
Alex Rønne Petersen
<alexrp@xamarin.com>
Mon, 3 Oct 2016 19:53:59 +0000
(21:53 +0200)
committer
Alex Rønne Petersen
<alexrp@xamarin.com>
Mon, 3 Oct 2016 19:53:59 +0000
(21:53 +0200)
mono/profiler/mono-profiler-log.c
patch
|
blob
|
history
diff --git
a/mono/profiler/mono-profiler-log.c
b/mono/profiler/mono-profiler-log.c
index 2afc325d6c2066b8b0d4c3e3868cf155d814ab3c..4f54fd7a632b45437d95c6a95e8692dc68faa503 100644
(file)
--- a/
mono/profiler/mono-profiler-log.c
+++ b/
mono/profiler/mono-profiler-log.c
@@
-736,7
+736,7
@@
static __thread MonoProfilerThread *profiler_tls;
#define PROF_TLS_SET(VAL) (pthread_setspecific (profiler_tls, (VAL)))
#define PROF_TLS_GET() ((MonoProfilerThread *) pthread_getspecific (profiler_tls))
#define PROF_TLS_INIT() (pthread_key_create (&profiler_tls, NULL))
-#define PROF_TLS_FREE() (pthread_key_delete (
&
profiler_tls))
+#define PROF_TLS_FREE() (pthread_key_delete (profiler_tls))
static pthread_key_t profiler_tls;