Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are you interested in adding a mailbox object #29

Open
ailisp opened this issue Mar 4, 2017 · 1 comment
Open

Are you interested in adding a mailbox object #29

ailisp opened this issue Mar 4, 2017 · 1 comment

Comments

@ailisp
Copy link

ailisp commented Mar 4, 2017

There are some useful concurrency object in sb-concurrency, but because of it's not portable, they are not widely used. Are you interested in adding the rewrite portable object like mailbox, gate into lparallel (replace sbcl's thread with bordeaux-threads)? If so, I'd like to send you a pull request.

@lmj
Copy link
Owner

lmj commented Mar 6, 2017

lparalel.queue is largely similar to sb-concurrency's mailbox while remaining portable, as it rests upon the functionality of bordeaux-threads. For gates, I would avoid adding it to lparallel directly. Since it is lower-level, it should be part of bordeaux-threads or a bordeaux-threads replacement. With an improved bordeaux-threads, a better lparallel.queue could be written as well. I've been contemplating replacing bordeaux-threads for other reasons as well.

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

No branches or pull requests

2 participants