rgrinberg / opium

Sinatra like web toolkit for OCaml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Concurrency with `run_multicore`

asere opened this issue · comments

Hello,
I am actually trying to use Opium with some communication between threads (using Lwt_mvar or Lwt_mutex), but I am unable to make it work as run_command is using Lwt_unix.fork function.
Is there another way to do that ? (without having to use low level API like Unix.lockf)