diff options
author | Dan Gudmundsson <[email protected]> | 2015-04-13 15:58:22 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-05-05 09:30:10 +0200 |
commit | 3e12120327654e7e66f7ae09cd3929cb1132766c (patch) | |
tree | d78edae0bb4e36028b8c87aba690ea50933975ef /lib/wx/c_src/wxe_impl.h | |
parent | ec794a22a3d5837c0dca35badf8af7bf841130ba (diff) | |
download | otp-3e12120327654e7e66f7ae09cd3929cb1132766c.tar.gz otp-3e12120327654e7e66f7ae09cd3929cb1132766c.tar.bz2 otp-3e12120327654e7e66f7ae09cd3929cb1132766c.zip |
wx: Optimize command queues
Remove allocations
Diffstat (limited to 'lib/wx/c_src/wxe_impl.h')
-rw-r--r-- | lib/wx/c_src/wxe_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/wx/c_src/wxe_impl.h b/lib/wx/c_src/wxe_impl.h index 57bf2e2dba..a0a1c84718 100644 --- a/lib/wx/c_src/wxe_impl.h +++ b/lib/wx/c_src/wxe_impl.h @@ -60,8 +60,8 @@ public: #endif void shutdown(wxeMetaCommand& event); - int dispatch(wxList *, int, int); - void dispatch_cb(wxList * batch, wxList * temp, ErlDrvTermData process); + int dispatch(wxeFifo *, int, int); + void dispatch_cb(wxeFifo * batch, wxeFifo * temp, ErlDrvTermData process); void wxe_dispatch(wxeCommand& event); @@ -93,7 +93,7 @@ public: int recurse_level; wxList * delayed_cleanup; - wxList * delayed_delete; + wxeFifo * delayed_delete; // Temp container for callbacks char *cb_buff; int cb_len; |