Shared memory examples with OCaml multicore and Hashtbl

It doesn’t mean that there won’t be data races – obviously there will be and you need a mutex. The talk is specifically discussing internal global state which is present in some modules such as Hashtbl. This global state would completely break multi-threaded code were it not for the fact that modifications were made. In other words, the modules were made reentrant but not thread-safe.