Skip to content

Simplify timezone setup. NFC#26377

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:timezone_lock
Mar 2, 2026
Merged

Simplify timezone setup. NFC#26377
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:timezone_lock

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Mar 2, 2026

The code here previously used a pthread_lock. However this is unnecessary since all calls to the do_tzset function are already wrapped in LOCK(lock) and UNLOCK(lock).

This is nice little codesize saving too.

@sbc100 sbc100 requested review from dschuff and kripken March 2, 2026 17:07
The code here previously used a pthread_lock.  However this is
unnecessary since all calls to the `do_tzset` function are already
wrapped in `LOCK(lock)` and `UNLOCK(lock)`.
@sbc100 sbc100 merged commit c7ef7db into emscripten-core:main Mar 2, 2026
36 checks passed
@sbc100 sbc100 deleted the timezone_lock branch March 2, 2026 20:20
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