thread synchronisation complete. Now it is safe to use it for any sort of input