aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/wxe_driver.h
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-01-17 17:07:14 +0100
committerDan Gudmundsson <[email protected]>2014-01-22 16:33:01 +0100
commit84a83493c2bd9b01b3d90a2ebef49b0c698c0797 (patch)
tree2daf05624743c32f5b79eb6ab1f2a73adccd8158 /lib/wx/c_src/wxe_driver.h
parentfb767602c08159daa2190129622ebf185606fd35 (diff)
downloadotp-84a83493c2bd9b01b3d90a2ebef49b0c698c0797.tar.gz
otp-84a83493c2bd9b01b3d90a2ebef49b0c698c0797.tar.bz2
otp-84a83493c2bd9b01b3d90a2ebef49b0c698c0797.zip
wx: wx could hang if wxe_server died (or had died) when inside a callback
The pid is not available via driver_caller(..) (see wxeCommand constr) inside driver_monitor callback.
Diffstat (limited to 'lib/wx/c_src/wxe_driver.h')
-rw-r--r--lib/wx/c_src/wxe_driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/wx/c_src/wxe_driver.h b/lib/wx/c_src/wxe_driver.h
index 0f0143bd4c..e35bbe2118 100644
--- a/lib/wx/c_src/wxe_driver.h
+++ b/lib/wx/c_src/wxe_driver.h
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 2008-2013. All Rights Reserved.
+ * Copyright Ericsson AB 2008-2014. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
@@ -89,6 +89,7 @@ extern char * erl_wx_privdir;
#define WXE_BIN_INCR 11
#define WXE_BIN_DECR 12
#define WXE_INIT_OPENGL 13
+#define WXE_CB_DIED 14
#define OPENGL_START 5000