search for: exitthread

Displaying 10 results from an estimated 10 matches for "exitthread".

Did you mean: exit_thread
2002 Mar 21
4
ExitThread won't.
Okay, so with complete lack of any other ideas, I tried to figure out what was wrong with my app (Proxomitron), which is leaving unkillable processes around. So I went into ExitThread, and added something like: DPRINTF("%08lx:Exiting thread...(%d)\n", GetCurrentThreadId(),getpid()); exit(code); right at the top of the function. And, lo and behold, the processId matches the processes that 'ps' can't kill. So the 'exit' isn't actually t...
2002 Mar 22
0
Re ExitThread won't.
Well it appears that my unkillable threads may be due to a kernel bug. I have upgraded my kernel from 2.4.15+ to 2.4.18+ and have not yet been able to duplicate the unkillable thread issue. If it pops up again, I'll post more details. Thanks, .Geoff ----------------------------------------------------- Protect yourself from spam, use http://sneakemail.com
2000 May 22
1
Winamp plugin compile problems and fix/docs
The winamp plugin would not compile. I am using the Cygnus environment (gcc, and a lot of other GNU utils) on Windows NT. _beginthread() is not found. That doesn't look like a function application code should ever call directly. I converted it to use CreateThread and it compiles and works. Change this: thread_handle = (HANDLE)_beginthread(DecodeThread,0, (void *)(&killDecod eThread)
2009 Jun 25
1
Compiling and linking QT project with Wine libraries
Hi! Sorry if my question very nooby, but I couldn't find answer in others posts. I'm trying to compile QT project which using some functions from kernel32.dll (SetEvent, Sleep, ExitThread etc.). I include Wine lib in my QT project file: Code: LIBS += /usr/lib/wine/kernel32.dll.so When I linking my project I have errors such as: Code: undefined reference to 'SetEvent' undefined reference to 'Sleep' undefined reference to 'ExitThread' .........................
2008 May 18
2
Pure win32-thread library?
...* 1000 unless limit == INFINITE WaitForSingleObject(@thread, limit) ReleaseMutex(@@mutex) end def terminate exit_code = [0].pack(''L'') return nil unless TerminateThread(@thread, exit_code) end def exit ExitThread(0) end def priority GetThreadPriority(@thread) end def priority=(value) unless SetThreadPriority(@thread, value) raise Error, get_last_error end end end end if $0 == __FILE__ t = Win32::Thread.new(''a...
2002 Mar 20
0
unkillable wine.bin processes
...9;t be killed. (I am using wine from CVS as of 3/12/02 or so) Thinking that I'd be a good samaritan (and try to learn something about debugging), I ran wine with --debugmsg +relay, brought up slashdot, then terminated proxomitron. Searching for CreateThread, I found 21 calls. Searching for ExitThread, I found 20 calls. But I was left with 8 unkillable wine.bin processes. (While the program was running there were 10 wine.bin processes, plus wineserver running) At this point I didn't know what to try next. Any pointers would be appreciated. I have tried this with several Proxomitron rele...
2008 Jul 29
2
why I cannot use winedbg --gdb
...000 (0<0>) 0016:0017: loads DLL C:\windows\system32\midimap.dll @0x7e250000 (0<0>) 00000016:00000017: exception code=0x80000003 warning: Target reported unsupported offsets: Text=00000004;Data=0033fd54;Bss=b7e85973 [New Thread 23] start_process (arg=0x0) at process.c:904 904 ExitThread( entry( peb ) ); trace: 98 => 80
2006 Oct 27
0
Wine release 0.9.24
...etups. user: Fixed MonitorFromWindow behavior for an invalid window handle. user: Make sure the desktop window exists before calling monitor functions. notepad: Fallback to default position if saved position if off-screen. Revert "kernel32: Exit from initial thread with ExitThread not by ExitProcess." comctl32: Properly handle negative coordinates for mouse events. hhctrl.ocx: Properly handle negative coordinates for mouse events. msi: Properly handle negative coordinates for mouse events. shell32: Properly handle negative coordinates for mouse e...
2009 Apr 10
0
Wine release 1.1.19
...re it anyway. loader: Add missing install dependency for extra binaries. inetcomm: Include ws2tcpip.h before anything else. ws2_32/tests: Don't use socklen_t. include: Try to avoid socklen_t redefinition in winsock.h. winedos: Release the 16-bit lock before calling ExitThread. winecrt0: Don't bother passing the environment to the _init function. ntdll: Add separate signal definitions for OpenBSD. ntdll: Define dvd_struct ourselves since it's not consistent across platforms. libwine: Export __wine_get_main_environment on Mac OS to make sur...
2009 Nov 13
0
Wine release 1.1.33
...winmm/tests: Fix MCI test failure on Win9x/WinME. mciwave: Return on error in Seek. mciwave: Stop must not reset current position. winmm: MCI Close all causes one notification per open driver. winmm/tests: Give flaky progress test more time. mciwave: Favour return over ExitThread. mciwave: Rework MCI notification system. mciwave: Implement Cue as no-op. mciwave: Allow MCI to Save non-PCM formats, obtained via Open. mciwave: Seek stops and rounds position down modulo nBlockAlign. mciwave: Play/Record return MCIERR_OUTOFRANGE as required. m...