12 research outputs found

    Applying formal verification to microkernel IPC at meta

    Get PDF
    We use Iris, an implementation of concurrent separation logic in the Coq proof assistant, to verify two queue data structures used for inter-process communication in an operating system under development. Our motivations are twofold. First, we wish to leverage formal verification to boost confidence in a delicate piece of industrial code that was subject to numerous revisions. Second, we aim to gain information on the cost-benefit tradeoff of applying a state-of-the-art formal verification tool in our industrial setting. On both fronts, our endeavor has been a success. The verification effort proved that the queue algorithms are correct and uncovered four algorithmic simplifications as well as bugs in client code. The simplifications involve the removal of two memory barriers, one atomic load, and one boolean check, all in a performance-sensitive part of the OS. Removing the redundant boolean check revealed unintended uses of uninitialized memory in multiple device drivers, which were fixed. The proof work was completed in person months, not years, by engineers with no prior familiarity with Iris. These findings are spurring further use of verification at Meta

    Understanding Factors Associated With Psychomotor Subtypes of Delirium in Older Inpatients With Dementia

    Get PDF

    The Seal Calculus

    Get PDF
    The Seal Calculus is a process language for describing mobile computation. Threads and resources are tree structured; the nodes thereof correspond to agents, the units of mobility. The Calculus extends a �-calculus core with synchronous, objective mobility of agents over channels. This paper systematically compares all previous variants of Seal Calculus. We study their operational behaviour with labelled transition systems and bisimulations; by comparing the resulting algebraic theories we highlight the differences between these apparently similar approaches. This leads us to identify the dialect of Seal that is most amenable to operational reasoning and can form the basis of a distributed programming language. We propose type systems for characterising the communications in which an agent can engage. The type systems thus enforce a discipline of agent mobility, since the latter is coded in terms of higher-order communication

    MEDICAL SCIENCE. GISSI-2: A factorial randomised trial of alteplase versus streptokinase and heparin versus no heparin among 12 490 patients with acute myocardial infarction

    No full text
    A multicentre, randomised, open trial with a 2 x 2 factorial design was conducted to compare the benefits and risks of two thrombolytic agents, streptokinase (SK, 1\ub75 MU infused intravenously over 30-60 min) and alteplase (tPA, 100 mg infused intravenously over 3 h) in patients with acute myocardial infarction admitted to coronary care units within 6 h from onset of symptoms. The patients were also randomised to receive heparin (12 500 U subcutaneously twice daily until discharge from hospital, starting 12 h after beginning the tPA or SK infusion) or usual therapy. All patients without specific contraindications were given atenolol (5-10 mg iv) and aspirin (300-325 mg a day). The end-point of the study was the combined estimate of death plus severe left ventricular damage. 12 490 patients were randomised to four treatment groups (SK alone, SK plus heparin, tPA alone, tPA plus heparin). No specific differences between the two thrombolytic agents were detected as regards the combined end-point (tPA 23\ub71%; SK 22\ub75%; relative risk 1\ub704, 95% Cl 0\ub795-1\ub713), nor after the addition of heparin to the aspirin treatment (hep 22\ub77%, no hep 22\ub79%; RR 0\ub799, 95% Cl 0\ub791-1\ub708). The outcome of patients allocated to the four treatment groups was similar with respect to baseline risk factors such as age, Killip class, hours from onset of symptoms, and site and type of infarct. The rates of major in-hospital cardiac complications (reinfarction, post-infarction angina) were also similar. The incidence of major bleeds was significantly higher in SK and heparin treated patients (respectively, tPA 0\ub75%, SK 1\ub70%, RR 0\ub757, 95% Cl 0\ub738-0\ub785; hep 1\ub70%, no hep 0\ub76%, RR 1\ub764, 95% Cl 1\ub709-2\ub745), whereas the overall incidence of stroke was similar in all groups. SK and tPA appear equally effective and safe for use in routine conditions of care, in all infarct patients who have no contraindications, with or without post-thrombolytic heparin treatment. The 8\ub78% hospital mortality of the study population (compared with approximately 13% in the control cohort of the GISSI-1 trial) indicates the beneficial impact of the proven acute treatments for AMI. \ua9 1990

    Understanding Factors Associated With Psychomotor Subtypes of Delirium in Older Inpatients With Dementia

    No full text
    Objectives: Few studies have analyzed factors associated with delirium subtypes. In this study, we investigate factors associated with subtypes of delirium only in patients with dementia to provide insights on the possible prevention and treatments. Design: This is a cross-sectional study nested in the “Delirium Day” study, a nationwide Italian point-prevalence study. Setting and Participants: Older patients admitted to 205 acute and 92 rehabilitation hospital wards. Measures: Delirium was evaluated with the 4-AT and the motor subtypes with the Delirium Motor Subtype Scale. Dementia was defined by the presence of a documented diagnosis in the medical records and/or prescription of acetylcholinesterase inhibitors or memantine prior to admission. Results: Of the 1057 patients with dementia, 35% had delirium, with 25.6% hyperactive, 33.1% hypoactive, 34.5% mixed, and 6.7% nonmotor subtype. There were higher odds of having venous catheters in the hypoactive (OR 1.82, 95% CI 1.18-2.81) and mixed type of delirium (OR 2.23, CI 1.43-3.46), whereas higher odds of urinary catheters in the hypoactive (OR 2.91, CI 1.92-4.39), hyperactive (OR 1.99, CI 1.23-3.21), and mixed types of delirium (OR 2.05, CI 1.36-3.07). We found higher odds of antipsychotics both in the hyperactive (OR 2.87, CI 1.81-4.54) and mixed subtype (OR 1.84, CI 1.24-2.75), whereas higher odds of antibiotics was present only in the mixed subtype (OR 1.91, CI 1.26-2.87). Conclusions and Implications: In patients with dementia, the mixed delirium subtype is the most prevalent followed by the hypoactive, hyperactive, and nonmotor subtype. Motor subtypes of delirium may be triggered by clinical factors, including the use of venous and urinary catheters, and the use of antipsychotics. Future studies are necessary to provide further insights on the possible pathophysiology of delirium in patients with dementia and to address the optimization of the management of potential risk factors

    Drug prescription and delirium in older inpatients: Results from the nationwide multicenter Italian Delirium Day 2015-2016

    No full text
    Objective: This study aimed to evaluate the association between polypharmacy and delirium, the association of specific drug categories with delirium, and the differences in drug-delirium association between medical and surgical units and according to dementia diagnosis. Methods: Data were collected during 2 waves of Delirium Day, a multicenter delirium prevalence study including patients (aged 65 years or older) admitted to acute and long-term care wards in Italy (2015-2016); in this study, only patients enrolled in acute hospital wards were selected (n = 4,133). Delirium was assessed according to score on the 4 "A's" Test. Prescriptions were classified by main drug categories; polypharmacy was defined as a prescription of drugs from 5 or more classes. Results: Of 4,133 participants, 969 (23.4%) had delirium. The general prevalence of polypharmacy was higher in patients with delirium (67.6% vs 63.0%, P =.009) but varied according to clinical settings. After adjustment for confounders, polypharmacy was associated with delirium only in patients admitted to surgical units (OR = 2.9; 95% CI, 1.4-6.1). Insulin, antibiotics, antiepileptics, antipsychotics, and atypical antidepressants were associated with delirium, whereas statins and angiotensin receptor blockers exhibited an inverse association. A stronger association was seen between typical and atypical antipsychotics and delirium in subjects free from dementia compared to individuals with dementia (typical: OR = 4.31; 95% CI, 2.94-6.31 without dementia vs OR = 1.64; 95% CI, 1.19-2.26 with dementia; atypical: OR = 5.32; 95% CI, 3.44-8.22 without dementia vs OR = 1.74; 95% CI, 1.26-2.40 with dementia). The absence of antipsychotics among the prescribed drugs was inversely associated with delirium in the whole sample and in both of the hospital settings, but only in patients without dementia. Conclusions: Polypharmacy is significantly associated with delirium only in surgical units, raising the issue of the relevance of medication review in different clinical settings. Specific drug classes are associated with delirium depending on the clinical setting and dementia diagnosis, suggesting the need to further explore this relationship

    Drug Prescription and Delirium in Older Inpatients: Results From the Nationwide Multicenter Italian Delirium Day 2015-2016

    No full text
    Objective: This study aimed to evaluate the association between polypharmacy and delirium, the association of specific drug categories with delirium, and the differences in drug-delirium association between medical and surgical units and according to dementia diagnosis. Methods: Data were collected during 2 waves of Delirium Day, a multicenter delirium prevalence study including patients (aged 65 years or older) admitted to acute and long-term care wards in Italy (2015-2016); in this study, only patients enrolled in acute hospital wards were selected (n = 4,133). Delirium was assessed according to score on the 4 "A's" Test. Prescriptions were classified by main drug categories; polypharmacy was defined as a prescription of drugs from 5 or more classes. Results: Of 4,133 participants, 969 (23.4%) had delirium. The general prevalence of polypharmacy was higher in patients with delirium (67.6% vs 63.0%, P =.009) but varied according to clinical settings. After adjustment for confounders, polypharmacy was associated with delirium only in patients admitted to surgical units (OR = 2.9; 95% CI, 1.4-6.1). Insulin, antibiotics, antiepileptics, antipsychotics, and atypical antidepressants were associated with delirium, whereas statins and angiotensin receptor blockers exhibited an inverse association. A stronger association was seen between typical and atypical antipsychotics and delirium in subjects free from dementia compared to individuals with dementia (typical: OR = 4.31; 95% CI, 2.94-6.31 without dementia vs OR = 1.64; 95% CI, 1.19-2.26 with dementia; atypical: OR = 5.32; 95% CI, 3.44-8.22 without dementia vs OR = 1.74; 95% CI, 1.26-2.40 with dementia). The absence of antipsychotics among the prescribed drugs was inversely associated with delirium in the whole sample and in both of the hospital settings, but only in patients without dementia. Conclusions: Polypharmacy is significantly associated with delirium only in surgical units, raising the issue of the relevance of medication review in different clinical settings. Specific drug classes are associated with delirium depending on the clinical setting and dementia diagnosis, suggesting the need to further explore this relationship
    corecore