Mercurial > dwindows
comparison gtk/dw.c @ 268:07bff0e012d3
Change threadid to -1 in dw_main_iteration() to allow Rexx/DW to work.
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 05 Mar 2003 08:11:45 +0000 |
parents | bf8b907f8a29 |
children | 2e936651aef6 |
comparison
equal
deleted
inserted
replaced
267:bf8b907f8a29 | 268:07bff0e012d3 |
---|---|
886 _dw_thread = pthread_self(); | 886 _dw_thread = pthread_self(); |
887 _dw_thread_add(_dw_thread); | 887 _dw_thread_add(_dw_thread); |
888 gtk_main_iteration(); | 888 gtk_main_iteration(); |
889 _dw_thread = (pthread_t)-1; | 889 _dw_thread = (pthread_t)-1; |
890 gdk_threads_leave(); | 890 gdk_threads_leave(); |
891 _dw_thread = (pthread_t)-1; | |
891 } | 892 } |
892 | 893 |
893 /* | 894 /* |
894 * Free's memory allocated by dynamic windows. | 895 * Free's memory allocated by dynamic windows. |
895 * Parameters: | 896 * Parameters: |