Re: winealsa: implement opening and closing of device, and return caps.
16 Apr
2007
16 Apr
'07
6:30 a.m.
Maarten Lankhorst <m.b.lankhorst(a)gmail.com> writes:
+/* Note: this thread can be TerminateThread'd, when not in critical section + * Hence I use alloca here, and a critical section to protect when it is not + * desired to be TerminateThread'd, assume when the critical section is taken + * we won't ever get it back and we're signalled to terminate + */ +static DWORD WINAPI callback_thread(LPVOID lParam)
You can't use TerminateThread for normal termination, it should only be used for fatal erros when cleaning up properly is not possible. Also please don't use alloca. -- Alexandre Julliard julliard(a)winehq.org
6905
Age (days ago)
6905
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard