summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/Host/common/HostThread.cpp
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2015-01-27 15:28:46 +0000
committeravg <avg@FreeBSD.org>2015-01-27 15:28:46 +0000
commitfeecf521e9468e3ccff20fcbe45d9a810f0563cf (patch)
tree36dbe096d99a8bf61a83acd0afff2656a27318d4 /contrib/llvm/tools/lldb/source/Host/common/HostThread.cpp
parentda0490b2e8a0b49115c136dfbd1b51040bd86e65 (diff)
downloadFreeBSD-src-feecf521e9468e3ccff20fcbe45d9a810f0563cf.zip
FreeBSD-src-feecf521e9468e3ccff20fcbe45d9a810f0563cf.tar.gz
vt(4): Use power_{suspend,resume} event handlers to implement
suspend/resume The goal is to avoid that the vt(4) resume happens before the video display is resumed. The original patch was provided by Andriy Gapon. This new patch registers the handlers in vt_upgrade(). This is done once, thanks to the VDF_ASYNC flag. I abused this flag because it was already abused by the keyboard allocation. The event handlers then call the backend if it provides callbacks for suspend/resume. Differential Revision: https://reviews.freebsd.org/D1004 On behalf of: dumbbell MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Host/common/HostThread.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud