--- a/WinWorkstation.st Fri Mar 28 12:31:00 2003 +0100
+++ b/WinWorkstation.st Mon Mar 31 14:36:17 2003 +0200
@@ -4194,6 +4194,7 @@
localWindowInfo *lI;
_dispatchThreadId = GetCurrentThreadId();
+ /* fprintf(stderr, "WinWorkstation [info]: dispatchThreadID=%d\n", _dispatchThreadId); */
TH_DPRINTF(("TS %d\n", th_calls++));
PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE); /* must be */
@@ -12387,7 +12388,8 @@
* start the event dispatcher thread and wait for it to
* be ready
*/
- __beginthread(dispatchThread, EVENT_THREAD_STACKSIZE, 0);
+ __beginthreadNT(dispatchThread, EVENT_THREAD_STACKSIZE, 0, 0, 0, &_dispatchThreadId);
+ /* fprintf(stderr, "WinWorkstation [info]: dispatchThreadId=%d\n", _dispatchThreadId); */
if (WaitForSingleObject(hCreateEvent, 5000L) != WAIT_OBJECT_0) {
fprintf(stderr, "WinWorkstation [error]: oops - timeout waiting for eventThread to start\n");
@@ -15432,6 +15434,6 @@
!WinWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.229 2003-02-26 15:54:02 penk Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.230 2003-03-31 12:36:17 penk Exp $'
! !
WinWorkstation initialize!