Sleep disorderA sleep disorder, or somnipathy, is a medical disorder of an individual's sleep patterns. Some sleep disorders are severe enough to interfere with normal physical, mental, social and emotional functioning. Polysomnography and actigraphy are tests commonly ordered for diagnosing sleep disorders. Sleep disorders are broadly classified into dyssomnias, parasomnias, circadian rhythm sleep disorders involving the timing of sleep, and other disorders including ones caused by medical or psychological conditions.
Sleeping barber problemIn computer science, the sleeping barber problem is a classic inter-process communication and synchronization problem that illustrates the complexities that arise when there are multiple operating system processes. The problem was originally proposed in 1965 by computer science pioneer Edsger Dijkstra, who used it to make the point that general semaphores are often superfluous. Imagine a hypothetical barbershop with one barber, one barber chair, and a waiting room with n chairs (n may be 0) for waiting customers.
Sleep studyA sleep study is a test that records the activity of the body during sleep. There are five main types of sleep studies that use different methods to test for different sleep characteristics and disorders. These include simple sleep studies, polysomnography, multiple sleep latency tests (MSLTs), maintenance of wakefulness tests (MWTs), and home sleep tests (HSTs). In medicine, sleep studies have been useful in identifying and ruling out various sleep disorders.
Polyphasic sleepPolyphasic sleep is the practice of sleeping during multiple periods over the course of 24 hours, in contrast to monophasic sleep, which is one period of sleep within 24 hours. Biphasic (or diphasic, bifurcated, or bimodal) sleep refers to two periods, while polyphasic usually means more than two. Segmented sleep and divided sleep may refer to polyphasic or biphasic sleep, but may also refer to interrupted sleep, where the sleep has one or several shorter periods of wakefulness, as was the norm for night sleep in pre-industrial societies.
Sleep apneaSleep apnea, also spelled sleep apnoea, is a sleep disorder in which pauses in breathing or periods of shallow breathing during sleep occur more often than normal. Each pause can last for a few seconds to a few minutes and they happen many times a night. In the most common form, this follows loud snoring. A choking or snorting sound may occur as breathing resumes. Because the disorder disrupts normal sleep, those affected may experience sleepiness or feel tired during the day.
Sleep hygieneSleep hygiene is a behavioral and environmental practice developed in the late 1970s as a method to help people with mild to moderate insomnia. Clinicians assess the sleep hygiene of people with insomnia and other conditions, such as depression, and offer recommendations based on the assessment.