Skip to content

Cleanup test/core/pthread/create. NFC - #12756

Merged
sbc100 merged 1 commit into
mainfrom
thread_create
Jan 18, 2024
Merged

sbc100 merged 1 commit into
mainfrom
thread_create

Conversation

@sbc100

@sbc100 sbc100 commented Nov 10, 2020 •

Copy link
Copy Markdown
Collaborator

Mostly convert to C to match the other tests here.

I verified that the normal C operators produce the desired atomic operations (e.g. sum++ produced i32.atomic.rmw.add, etc)

See #3494

@kripken kripken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with comments addressed.

Comment thread emcc.py Outdated
extra_files_to_link = system_libs.get_ports(shared.Settings)
if '-nostdlib' not in newargs and '-nodefaultlibs' not in newargs:
link_as_cxx = run_via_emxx
link_as_cxx = run_via_emxx or shared.Settings.EMBIND

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like part of another PR maybe?

Comment thread tests/test_core.py Outdated
self.do_run_in_out_file_test('tests', 'core', 'pthread', 'emscripten_atomics.c')

@no_asan('incompatibility with atomics')
@node_pthreads

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asan only runs on chromium CI after commit, so it's not tested here, but I assume you saw it works?

@sbc100
sbc100 force-pushed the thread_create branch 2 times, most recently from 38b5981 to 49f73f2 Compare November 13, 2020 22:18
Base automatically changed from master to main March 8, 2021 23:49
@stale

stale Bot commented Apr 16, 2022

Copy link
Copy Markdown

This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant.

@stale stale Bot added the wontfix label Apr 16, 2022
@stale stale Bot removed the wontfix label Jan 17, 2024
@sbc100

sbc100 commented Jan 17, 2024

Copy link
Copy Markdown
Collaborator Author

Reviving 2 year old PR!

@sbc100 sbc100 changed the title Cleanup tests/core/pthread/create. NFC. Cleanup tests/core/pthread/create. NFC Jan 17, 2024
@sbc100
sbc100 enabled auto-merge (squash) January 17, 2024 23:22
@sbc100 sbc100 changed the title Cleanup tests/core/pthread/create. NFC Cleanup test/core/pthread/create. NFC Jan 17, 2024
@sbc100
sbc100 disabled auto-merge January 17, 2024 23:22
@sbc100
sbc100 enabled auto-merge (squash) January 17, 2024 23:22
Mostly convert to C to match the other tests here.

See #3494
@sbc100
sbc100 merged commit c00356e into main Jan 18, 2024
@sbc100
sbc100 deleted the thread_create branch January 18, 2024 21:12
sbc100 added a commit to sbc100/emscripten that referenced this pull request Mar 21, 2024
sbc100 added a commit to sbc100/emscripten that referenced this pull request Mar 21, 2024
sbc100 added a commit that referenced this pull request Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants