>And here it should execute hb_gt_os2_ReadKey().
>Strange that we do not see "1. hb_gt_os2_ReadKey()" on the screen.
>Maybe the message is overloaded by sth?
>Please add at the begining of hb_gt_os2_ReadKey() before:

>   HB_TRACE(HB_TR_DEBUG, ("hb_gt_os2_ReadKey(%p,%d)", pGT, iEventMask));

>this line:

>   printf("0. hb_gt_os2_ReadKey(%p)\r\n", s_key);fflush(stdout);

Clarification:

hb_gt_os2_ReadKey() is working fine, but it happen many steps before error. I marked it to you in tracing list (you skiped it, review it)

This is the part involved:
--------------------------
[...]
TID=1
_hb_gettid()
TID=1
2. hb_threadMutexLock()
2. hb_inkeyPoll()
3. hb_inkeyPoll()
1. hb_gt_os2_ReadKey()    <-------
2. hb_gt_os2_ReadKey()
3. hb_gt_os2_ReadKey()
4. hb_gt_os2_ReadKey()
5. hb_gt_os2_ReadKey()
4. hb_inkeyPoll()
_hb_gettid()
TID=1
5. hb_inkeyPoll()
6. hb_inkeyPoll()
1. hb_threadMutexLock()
_hb_gettid()
TID=1
[...]
--------------------------

David Macias



_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to