diff options
author | Tom Tromey <tromey@adacore.com> | 2022-03-31 10:08:45 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-04-04 13:58:37 -0600 |
commit | 44c6a4106ea9c8d903e62b20357ea8d5387b8f4f (patch) | |
tree | 3ea034be470c32f3b611b73add7e1bd7a4701cb5 /sim/erc32/interf.c | |
parent | 04ae91ea5223735820f44d580055362b06a6df73 (diff) | |
download | binutils-44c6a4106ea9c8d903e62b20357ea8d5387b8f4f.zip binutils-44c6a4106ea9c8d903e62b20357ea8d5387b8f4f.tar.gz binutils-44c6a4106ea9c8d903e62b20357ea8d5387b8f4f.tar.bz2 |
Use unique_ptr in the Windows thread list
windows-nat.c uses some manual memory management when manipulating the
thread_list global. Changing this to use unique_ptr simplifies the
code, in particular windows_init_thread_list. (Note that, while I
think the the call to init_thread_list in there is wrong, I haven't
removed it in this patch.)
Diffstat (limited to 'sim/erc32/interf.c')
0 files changed, 0 insertions, 0 deletions