projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[threads] Store MonoInternalThread in MonoThreadInfo for use when detaching (#5058)
[mono.git]
/
mono
/
unit-tests
/
test-mono-linked-list-set.c
diff --git
a/mono/unit-tests/test-mono-linked-list-set.c
b/mono/unit-tests/test-mono-linked-list-set.c
index a5e01ebe09ec6e5f913e1ad936c822596d39ecde..202d2fc07a11a46caf2006184fb44e72a7d68f84 100644
(file)
--- a/
mono/unit-tests/test-mono-linked-list-set.c
+++ b/
mono/unit-tests/test-mono-linked-list-set.c
@@
-116,15
+116,12
@@
int
main (int argc, char *argv [])
{
int primes [] = { 1, 2, 3, 5, 7, 11, 13, 17 };
main (int argc, char *argv [])
{
int primes [] = { 1, 2, 3, 5, 7, 11, 13, 17 };
- MonoThreadInfoCallbacks thread_callbacks;
thread_data_t thread_data [NUM_THREADS];
int i;
thread_data_t thread_data [NUM_THREADS];
int i;
- memset (&thread_callbacks, 0, sizeof (thread_callbacks));
-
mono_metadata_init ();
mono_metadata_init ();
- mono_thread
s_init (&thread_callbacks,
0);
+ mono_thread
_info_init (
0);
mono_lls_init (&lls, free_node);
mono_lls_init (&lls, free_node);