Commit c495d287c38e7e87c581f1d50794b454668d65da
1 parent
0668e0fa
Exists in
master
and in
1 other branch
Debugging performance issues.
Showing
2 changed files
with
5 additions
and
0 deletions
Show diff stats
client/src/session/local/set.cc
... | ... | @@ -66,7 +66,9 @@ |
66 | 66 | |
67 | 67 | std::lock_guard<std::recursive_mutex> lock(this->sync); |
68 | 68 | |
69 | + debug(__FUNCTION__,"(",row,",",col,",\"",str,"\")"); | |
69 | 70 | int rc = lib3270_set_string_at(hSession,row,col,(unsigned char *) str.c_str(),str.length()); |
71 | + debug("rc=",rc); | |
70 | 72 | if(rc < 0) |
71 | 73 | chkResponse(-rc); |
72 | 74 | ... | ... |
client/src/session/local/wait.cc
... | ... | @@ -38,6 +38,8 @@ |
38 | 38 | |
39 | 39 | #include "private.h" |
40 | 40 | #include <lib3270/actions.h> |
41 | + #include <signal.h> | |
42 | + #include <unistd.h> | |
41 | 43 | |
42 | 44 | /*---[ Implement ]----------------------------------------------------------------------------------*/ |
43 | 45 | |
... | ... | @@ -65,6 +67,7 @@ |
65 | 67 | LIB3270_KEYBOARD_LOCK_STATE Local::Session::waitForKeyboardUnlock(time_t timeout) const { |
66 | 68 | |
67 | 69 | std::lock_guard<std::recursive_mutex> lock(const_cast<Local::Session *>(this)->sync); |
70 | + debug("waitForKeyboardUnlock(",timeout,")"); | |
68 | 71 | return lib3270_wait_for_keyboard_unlock(this->hSession, timeout); |
69 | 72 | } |
70 | 73 | ... | ... |