Suppose I click "sleep" to windows 10, I'm wondering for example, suppose these programs were busy at the moment of sleep, for example:
*Google drive uploading a recently locally edited file.
*a program running a process, such as a program calculating PI, or a video editor rendering.
What happens to this processes? Do they have to finish before sleeping? Do all the information saved to start from the same point when awake? Do they have to get killed before sleeping?