4 ms·
You can have multi-threaded OCaml (our server actually has two threads), but only one can run at a time currently. We solve this problem by having a multi-proce
by sinancepel 9y ago
You can have multi-threaded OCaml (our server actually has two threads), but only one can run at a time currently. We solve this problem by having a multi-process architecture where workers only communicate through a lock-free hash table in shared memory.
- leshow 9y agoIs it fair to say that it runs in parallel if only one thread may run at a time? Isn't that concurrent, but not parallel?
- platinumrad 9y agoBoth responses to your original question mention that multiple processes are run.
- deleted 9y ago[deleted]