diff options
author | Dan Gudmundsson <[email protected]> | 2018-12-06 21:50:46 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2018-12-06 21:50:46 +0100 |
commit | 1ec09d6d239194689a95a0f0111d751d9a57e407 (patch) | |
tree | 29a3bbea95f446feece021bca920b377904acef6 /lib/wx/c_src/wxe_helpers.h | |
parent | 73e4f5f21bbf492ab61c01dee48fa09fd7309a50 (diff) | |
download | otp-1ec09d6d239194689a95a0f0111d751d9a57e407.tar.gz otp-1ec09d6d239194689a95a0f0111d751d9a57e407.tar.bz2 otp-1ec09d6d239194689a95a0f0111d751d9a57e407.zip |
Don't try to wake up wx thread when not necessary
That kills performance on at least windows when a the load goes up and
a lot of commands is sent to the driver.
Diffstat (limited to 'lib/wx/c_src/wxe_helpers.h')
-rw-r--r-- | lib/wx/c_src/wxe_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/c_src/wxe_helpers.h b/lib/wx/c_src/wxe_helpers.h index 70ffccdc13..a6c00e5aca 100644 --- a/lib/wx/c_src/wxe_helpers.h +++ b/lib/wx/c_src/wxe_helpers.h @@ -63,7 +63,7 @@ class wxeFifo { wxeFifo(unsigned int size); virtual ~wxeFifo(); - void Add(int fc, char * cbuf,int buflen, wxe_data *); + int Add(int fc, char * cbuf,int buflen, wxe_data *); void Append(wxeCommand *Other); wxeCommand * Get(); |