mirror of
https://github.com/reactos/wine.git
synced 2025-03-04 10:47:49 +00:00
Non-functional PROCESS_Suspend/ResumeOtherThreads removed.
This commit is contained in:
parent
0df0f1fd28
commit
9e696f8906
@ -162,8 +162,6 @@ extern PDB *PROCESS_Create( struct _NE_MODULE *pModule,
|
||||
BOOL inherit,
|
||||
STARTUPINFOA *startup, PROCESS_INFORMATION *info );
|
||||
extern void PROCESS_FreePDB( PDB *pdb );
|
||||
extern void PROCESS_SuspendOtherThreads(void);
|
||||
extern void PROCESS_ResumeOtherThreads(void);
|
||||
|
||||
#endif /* __WINE_PROCESS_H */
|
||||
|
||||
|
@ -1121,67 +1121,3 @@ DWORD WINAPI GetProcessHeaps(DWORD nrofheaps,HANDLE *heaps) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* PROCESS_SuspendOtherThreads
|
||||
*/
|
||||
|
||||
void PROCESS_SuspendOtherThreads(void)
|
||||
{
|
||||
#if 0
|
||||
PDB *pdb;
|
||||
THREAD_ENTRY *entry;
|
||||
|
||||
SYSTEM_LOCK();
|
||||
|
||||
pdb = PROCESS_Current();
|
||||
entry = pdb->thread_list->next;
|
||||
for (;;)
|
||||
{
|
||||
if (entry->thread != THREAD_Current() && !THREAD_IsWin16(entry->thread))
|
||||
{
|
||||
HANDLE handle = HANDLE_Alloc( PROCESS_Current(),
|
||||
&entry->thread->header,
|
||||
THREAD_ALL_ACCESS, FALSE, -1 );
|
||||
SuspendThread(handle);
|
||||
CloseHandle(handle);
|
||||
}
|
||||
if (entry == pdb->thread_list) break;
|
||||
entry = entry->next;
|
||||
}
|
||||
|
||||
SYSTEM_UNLOCK();
|
||||
#endif
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* PROCESS_ResumeOtherThreads
|
||||
*/
|
||||
|
||||
void PROCESS_ResumeOtherThreads(void)
|
||||
{
|
||||
#if 0
|
||||
PDB *pdb;
|
||||
THREAD_ENTRY *entry;
|
||||
|
||||
SYSTEM_LOCK();
|
||||
|
||||
pdb = PROCESS_Current();
|
||||
entry = pdb->thread_list->next;
|
||||
for (;;)
|
||||
{
|
||||
if (entry->thread != THREAD_Current() && !THREAD_IsWin16(entry->thread))
|
||||
{
|
||||
HANDLE handle = HANDLE_Alloc( PROCESS_Current(),
|
||||
&entry->thread->header,
|
||||
THREAD_ALL_ACCESS, FALSE, -1 );
|
||||
ResumeThread(handle);
|
||||
CloseHandle(handle);
|
||||
}
|
||||
if (entry == pdb->thread_list) break;
|
||||
entry = entry->next;
|
||||
}
|
||||
|
||||
SYSTEM_UNLOCK();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user