PAL now supports in-process sharding to achieve multi-threading-ness.