Just to add to the sibling comment. To maintain backwards compatibility, OCaml 5 has both threads and domains.
Threads belong to a domain and only one thread can hold the runtime lock for the domain. This is the same behaviour as in OCaml 4.
With OCaml 5 you can have as many domains as you want though (we recommend no more than you have cores though).