ocaml-multicore / domainslib

Parallel Programming over Domains
ISC License
171 stars 30 forks source link

Should we expose multi-channel from the library? #49

Open kayceesrk opened 3 years ago

kayceesrk commented 3 years ago

Is the multi-channel implementation something that Multicore OCaml users would likely require? Domaslib provides FIFO channels. Would the Non-FIFO multi-channel implementation be useful additionally?

One downside is that multi-channel does not have a pleasant API as FIFO channels do. IIUC, domains that wish to use the multi-channel will have to register their intent to use the channel. Is that right?