As discussed in https://github.com/openzfsonwindows/openzfs/issues/336, the memory allocation failed during init. The free thread was not running and its cond var/mutex was not initialized. So checking free thread is running before trying to set the memory pressure.
As discussed in https://github.com/openzfsonwindows/openzfs/issues/336, the memory allocation failed during init. The free thread was not running and its cond var/mutex was not initialized. So checking free thread is running before trying to set the memory pressure.