Currently the code to pause and resume the database thread is guarded by PLATFORM(IOS). Although this code was originally designed for WebKit on iOS it could be used by other ports. We should remove the PLATFORM(IOS)-guards around this code.