Skip to content

Conversation

@stmonty
Copy link
Contributor

@stmonty stmonty commented Nov 3, 2025

Fixes #170
This is just a current draft of what I am thinking about for how to implement locking on lazy sequences.
I am using a recursive_mutex with the synchronized state so that there wouldn't be a deadlock when the lazy_seq tries to call back into itself while holding the lock.

To be honest still trying to wrap my head around the implementation of lazy data structures. I think I understand how to use them, but how to build them is something new to me. Especially when discussing concurrency on them.

@stmonty stmonty marked this pull request as draft November 3, 2025 08:26
@stmonty
Copy link
Contributor Author

stmonty commented Nov 3, 2025

@frenchy64 would love to get your thoughts as you created the original issue and maybe you have some context for this!

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.

lazy-seq can be realized multiple times

1 participant