Skip to content

Fix a concurrency bug in OP_WAIT_TIMEOUT#2109

Merged
bettio merged 1 commit intoatomvm:mainfrom
pguyot:w08/fix-wait_timeout-logic
Feb 17, 2026
Merged

Fix a concurrency bug in OP_WAIT_TIMEOUT#2109
bettio merged 1 commit intoatomvm:mainfrom
pguyot:w08/fix-wait_timeout-logic

Conversation

@pguyot
Copy link
Collaborator

@pguyot pguyot commented Feb 17, 2026

Fix a bug that could explain some CI flappiness. If a message arrived before first execution of op_wait_timeout, the timer would be configured and the wait would time out unless another message arrived.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Fix a bug that could explain some CI flappiness. If a message arrived before
first execution of op_wait_timeout, the timer would be configured and the
wait would time out unless another message arrived.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
@pguyot pguyot force-pushed the w08/fix-wait_timeout-logic branch from 99f0a5b to 9387b01 Compare February 17, 2026 13:59
@pguyot
Copy link
Collaborator Author

pguyot commented Feb 17, 2026

First CI errors fixed by #2110

@bettio bettio merged commit 2e63bff into atomvm:main Feb 17, 2026
139 of 144 checks passed
@pguyot pguyot deleted the w08/fix-wait_timeout-logic branch February 17, 2026 19:11
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

Comments