diff options
author | Dan Gudmundsson <[email protected]> | 2016-03-01 12:50:27 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-03-01 12:50:27 +0100 |
commit | 997168383605d68ad15f7af3d249ffc888c3e498 (patch) | |
tree | 5dc1ad74fe447fa8ea20eee1ba55073ee6e6077d /lib/wx/api_gen/wx_gen_cpp.erl | |
parent | 125016706cdfb30f6462076d5bf7c0144a3d2373 (diff) | |
download | otp-997168383605d68ad15f7af3d249ffc888c3e498.tar.gz otp-997168383605d68ad15f7af3d249ffc888c3e498.tar.bz2 otp-997168383605d68ad15f7af3d249ffc888c3e498.zip |
wx: Wait before throwing away early callbacks to wx_objects
If synced callbacks arrive early before the return value from
init had been synced to proc_lib. The callbacks where ignored.
Added a short timeout to avoid the scheduling raise but we don't want
block the wxe_server in case of deadlock in init, so sleep for a short
while and check again, and drop the callback when init takes to long.
Diffstat (limited to 'lib/wx/api_gen/wx_gen_cpp.erl')
0 files changed, 0 insertions, 0 deletions