RXD+ (982) > Command completed with a return code of 0 RXD+ (0) > _handle() output: 51686792 thread handle:2d00 thread-id: 4240x #### thread handle:2d00 thread-id: 0x GetLastError() output: '6' Join failed with 'Bad file descriptor' : 'The handle is invalid' at rxd.pl line 1128. #### S_ithread_create( ... printf( "ITCREATE: thread handle:%x thread-id: %dx\n", thread->handle, GetThreadId( thread->handle ) ); MY_POOL.running_threads++; return (thread); } #### STATIC void S_ithread_free(pTHX_ ithread *thread) { ... #ifdef WIN32 printf( "ITFREE: thread handle:%x thread-id: %dx\n", thread->handle, GetThreadId( thread->handle ) ); if (handle) { CloseHandle(handle); } #endif ... }