lparallel icon indicating copy to clipboard operation
lparallel copied to clipboard

Are you interested in adding a mailbox object

Open ailisp opened this issue 8 years ago • 1 comments

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.

ailisp avatar Mar 04 '17 18:03 ailisp

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.

lmj avatar Mar 06 '17 15:03 lmj