Re: [racket-users] Non-blocking place get

2018-02-22 Thread Robby Findler
These are great points! Thank you. Robby On Thu, Feb 22, 2018 at 1:59 AM 'Paulo Matos' via Racket Users < racket-users@googlegroups.com> wrote: > > > On 22/02/18 01:02, Robby Findler wrote: > > You can create a thread and wait simultaneously on the place channel > > value and also on some channe

Re: [racket-users] Non-blocking place get

2018-02-22 Thread 'Paulo Matos' via Racket Users
On 22/02/18 01:02, Robby Findler wrote: > You can create a thread and wait simultaneously on the place channel > value and also on some channel that the various workers use to check > in and see if a value is available. Here's a very simple instantiation > of this idea. > Thanks. That looks lik

Re: [racket-users] Non-blocking place get

2018-02-21 Thread Robby Findler
You can create a thread and wait simultaneously on the place channel value and also on some channel that the various workers use to check in and see if a value is available. Here's a very simple instantiation of this idea. More generally, I think that one of the underappreciated parts of Racket's

[racket-users] Non-blocking place get

2018-02-21 Thread 'Paulo Matos' via Racket Users
Hi, I am trying to use places to parallelize several long running algorithms that can run in parallel. All of these are optimizing a function F(X1, ..., Xn) using different algorithms and need to communicate between themselves. The initial thing I thought about was having a master creating all th