Ankylosis is a stiffness of a joint due to abnormal adhesion and rigidity of the bones of the joint, which may be the result of injury or disease. The rigidity may be complete or partial and may be due to inflammation of the tendinous or muscular structures outside the joint or of the tissues of the joint itself.When the structures outside the joint are affected, the term "false ankylosis" has been used in contradistinction to "true ankylosis", in which the disease is within the joint. When inflammation has caused the joint-ends of the bones to be fused together, the ankylosis is termed osseous or complete and is an instance of synostosis. Excision of a completely ankylosed shoulder or elbow may restore free mobility and usefulness to the limb. "Ankylosis"  is also used as an anatomical term, bones being said to ankylose (or anchylose) when, from being originally distinct, they coalesce, or become so joined that no motion can take place between them.The term is from Greek ἀγκύλος, bent, crooked. Causes
Ankylosing spondylitis is a type of arthritis in which there is long-term inflammation of the joints of the spine. Other forms of arthritis may sometimes also lead to ankylosis, including rheumatoid arthritis and reactive arthritis
Osteoarthritis usually confers osteophyte formation, which may eventually fuse across joints. Osteoarthritis is believed to be caused by mechanical stress on the joint and low-grade inflammatory processes. Arthrodesis is the intentional creation of ankylosis in a joint.
Failing to do so can increase the side effects of the drug. Like all benzodiazepines, the use of this drug in combination with alcohol potentiates the side effects, and can lead to toxicity and death. Though rare, residual "hangover" effects after night-time administration of temazepam occasionally occur. These include sleepiness, impaired psychomotor and cognitive functions which may persist into the next day, impaired driving ability, and possible increased risks of falls and hip fractures, especially in the elderly. Tolerance
Chronic or excessive use of temazepam may cause drug tolerance, which can develop rapidly, so this drug is not recommended for long-term use. In 1979, the Institute of Medicine (USA) and the National Institute on Drug Abuse stated that most hypnotics lose their sleep-inducing properties after about three to 14 days. In use longer than one to two weeks, tolerance will rapidly develop towards the ability of temazepam to maintain sleep, resulting in a loss of effectiveness. Some studies have observed tolerance to temazepam after as little as one weeks use. Another study examined the short-term effects of the accumulation of temazepam over seven days in elderly inpatients, and found little tolerance developed during the accumulation of the drug. Other studies examined the use of temazepam over six days and saw no evidence of tolerance. A study in 11 young male subjects showed significant tolerance occurs to temazepams thermoregulatory effects and sleep inducing properties after one week of use of 30-mg temazepam.