VirtualBox

Changeset 35772 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 28, 2011 7:47:43 PM (14 years ago)
Author:
vboxsync
Message:

dev/serial: fix timer callbacks rasing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DevSerial.cpp

    r35725 r35772  
    828828{
    829829    SerialState *s = (SerialState*)pvUser;
     830    PDMCritSectEnter(&s->CritSect, VERR_PERMISSION_DENIED);
    830831    if (s->recv_fifo.count)
    831832    {
     
    833834        serial_update_irq(s);
    834835    }
     836    PDMCritSectLeave(&s->CritSect);
    835837}
    836838
     
    846848{
    847849    SerialState *s = (SerialState*)pvUser;
     850    PDMCritSectEnter(&s->CritSect, VERR_PERMISSION_DENIED);
    848851    serial_xmit(s, true);
     852    PDMCritSectLeave(&s->CritSect);
    849853}
    850854
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette