winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
March 2007
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
844 discussions
Start a n
N
ew thread
Jan Zerebecki : riched20: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: 58f37a12511434dd4f684cacc18429b25e852856 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=58f37a12511434dd4f684cacc…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:10:28 2007 +0100 riched20: Add DebugInfo to critical sections. --- dlls/riched20/txtsrv.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/riched20/txtsrv.c b/dlls/riched20/txtsrv.c index 09d7287..069c916 100644 --- a/dlls/riched20/txtsrv.c +++ b/dlls/riched20/txtsrv.c @@ -78,6 +78,7 @@ HRESULT WINAPI CreateTextServices(IUnknown * pUnkOuter, if (ITextImpl == NULL) return E_OUTOFMEMORY; InitializeCriticalSection(&ITextImpl->csTxtSrv); + ITextImpl->csTxtSrv.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": ITextServicesImpl.csTxtSrv"); ITextImpl->ref = 1; ITextHost_AddRef(pITextHost); ITextImpl->pMyHost = pITextHost; @@ -135,6 +136,7 @@ static ULONG WINAPI fnTextSrv_Release(ITextServices *iface) if (!ref) { ITextHost_Release(This->pMyHost); + This->csTxtSrv.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&This->csTxtSrv); CoTaskMemFree(This); }
1
0
0
0
Jan Zerebecki : oleaut32: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: 1e176b47399f70f74e5263ae59eaff4cac9aba8b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1e176b47399f70f74e5263ae5…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:09:58 2007 +0100 oleaut32: Add DebugInfo to critical sections. --- dlls/oleaut32/tmarshal.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index cf0df90..8e3b0bc 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -441,6 +441,7 @@ TMProxyImpl_Release(LPRPCPROXYBUFFER iface) if (!refCount) { if (This->dispatch_proxy) IRpcProxyBuffer_Release(This->dispatch_proxy); + This->crit.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&This->crit); if (This->chanbuf) IRpcChannelBuffer_Release(This->chanbuf); VirtualFree(This->asmstubs, 0, MEM_RELEASE); @@ -1679,6 +1680,7 @@ PSFacBuf_CreateProxy( proxy->chanbuf = 0; InitializeCriticalSection(&proxy->crit); + proxy->crit.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": TMProxyImpl.crit"); proxy->lpvtbl = HeapAlloc(GetProcessHeap(),0,sizeof(LPBYTE)*nroffuncs); for (i=0;i<nroffuncs;i++) {
1
0
0
0
Jan Zerebecki : mciavi32: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: a8ed754e8cda2e690ef151dacdbd75494e342cc0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a8ed754e8cda2e690ef151dac…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:09:08 2007 +0100 mciavi32: Add DebugInfo to critical sections. --- dlls/mciavi32/mciavi.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/mciavi32/mciavi.c b/dlls/mciavi32/mciavi.c index 9785dbe..a1380f6 100644 --- a/dlls/mciavi32/mciavi.c +++ b/dlls/mciavi32/mciavi.c @@ -84,6 +84,7 @@ static DWORD MCIAVI_drvOpen(LPCWSTR str, LPMCI_OPEN_DRIVER_PARMSW modp) return 0; InitializeCriticalSection(&wma->cs); + wma->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": WINE_MCIAVI.cs"); wma->ack_event = CreateEventW(NULL, FALSE, FALSE, NULL); wma->hStopEvent = CreateEventW(NULL, FALSE, FALSE, NULL); wma->wDevID = modp->wDeviceID; @@ -121,6 +122,7 @@ static DWORD MCIAVI_drvClose(DWORD dwDevID) CloseHandle(wma->hStopEvent); LeaveCriticalSection(&wma->cs); + wma->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&wma->cs); HeapFree(GetProcessHeap(), 0, wma);
1
0
0
0
Jan Zerebecki : netapi32: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: 4a5f61bb63ce91d46bed0f60c13bb8a5a56c23bc URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4a5f61bb63ce91d46bed0f60c…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:09:30 2007 +0100 netapi32: Add DebugInfo to critical sections. --- dlls/netapi32/nbcmdqueue.c | 2 ++ dlls/netapi32/nbnamecache.c | 2 ++ dlls/netapi32/nbt.c | 2 ++ dlls/netapi32/netbios.c | 4 ++++ 4 files changed, 10 insertions(+), 0 deletions(-) diff --git a/dlls/netapi32/nbcmdqueue.c b/dlls/netapi32/nbcmdqueue.c index de70e6b..720826d 100644 --- a/dlls/netapi32/nbcmdqueue.c +++ b/dlls/netapi32/nbcmdqueue.c @@ -62,6 +62,7 @@ struct NBCmdQueue *NBCmdQueueCreate(HANDLE heap) { queue->heap = heap; InitializeCriticalSection(&queue->cs); + queue->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": NBCmdQueue.cs"); queue->head = NULL; } return queue; @@ -193,6 +194,7 @@ void NBCmdQueueDestroy(struct NBCmdQueue *queue) if (queue) { NBCmdQueueCancelAll(queue); + queue->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&queue->cs); HeapFree(queue->heap, 0, queue); } diff --git a/dlls/netapi32/nbnamecache.c b/dlls/netapi32/nbnamecache.c index 82c10a9..b9ed159 100644 --- a/dlls/netapi32/nbnamecache.c +++ b/dlls/netapi32/nbnamecache.c @@ -104,6 +104,7 @@ struct NBNameCache *NBNameCacheCreate(HANDLE heap, DWORD entryExpireTimeMS) { cache->heap = heap; InitializeCriticalSection(&cache->cs); + cache->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": NBNameCache.cs"); cache->entryExpireTimeMS = entryExpireTimeMS; cache->head = NULL; } @@ -204,6 +205,7 @@ void NBNameCacheDestroy(struct NBNameCache *cache) { if (cache) { + cache->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&cache->cs); while (cache->head) NBNameCacheUnlinkNode(cache, &cache->head); diff --git a/dlls/netapi32/nbt.c b/dlls/netapi32/nbt.c index c09b8fa..27dba60 100644 --- a/dlls/netapi32/nbt.c +++ b/dlls/netapi32/nbt.c @@ -1050,6 +1050,7 @@ static UCHAR NetBTCall(void *adapt, PNCB ncb, void **sess) { session->fd = fd; InitializeCriticalSection(&session->cs); + session->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": NetBTSession.cs"); *sess = session; } else @@ -1243,6 +1244,7 @@ static UCHAR NetBTHangup(void *adapt, void *sess) closesocket(session->fd); session->fd = INVALID_SOCKET; session->bytesPending = 0; + session->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&session->cs); HeapFree(GetProcessHeap(), 0, session); diff --git a/dlls/netapi32/netbios.c b/dlls/netapi32/netbios.c index c104cea..3362f03 100644 --- a/dlls/netapi32/netbios.c +++ b/dlls/netapi32/netbios.c @@ -104,6 +104,7 @@ void NetBIOSInit(void) { memset(&gNBTable, 0, sizeof(gNBTable)); InitializeCriticalSection(&gNBTable.cs); + gNBTable.cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": NetBIOSAdapterTable.cs"); } void NetBIOSShutdown(void) @@ -122,6 +123,7 @@ void NetBIOSShutdown(void) if (gTransports[i].transport.cleanup) gTransports[i].transport.cleanup(); LeaveCriticalSection(&gNBTable.cs); + gNBTable.cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&gNBTable.cs); HeapFree(GetProcessHeap(), 0, gNBTable.table); } @@ -210,6 +212,7 @@ BOOL NetBIOSRegisterAdapter(ULONG transport, DWORD ifIndex, void *data) gNBTable.table[i].impl.data = data; gNBTable.table[i].cmdQueue = NBCmdQueueCreate(GetProcessHeap()); InitializeCriticalSection(&gNBTable.table[i].cs); + gNBTable.table[i].cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": NetBIOSAdapterTable.NetBIOSAdapter.cs"); gNBTable.table[i].enabled = TRUE; ret = TRUE; } @@ -246,6 +249,7 @@ static void nbShutdownAdapter(NetBIOSAdapter *adapter) if (adapter->transport->cleanupAdapter) adapter->transport->cleanupAdapter(adapter->impl.data); NBCmdQueueDestroy(adapter->cmdQueue); + adapter->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&adapter->cs); memset(adapter, 0, sizeof(NetBIOSAdapter)); }
1
0
0
0
Jan Zerebecki : ntdll: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: aaf9a151c15f49a8351ed278b7fa2f825a7ab11b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=aaf9a151c15f49a8351ed278b…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:09:39 2007 +0100 ntdll: Add DebugInfo to critical sections. --- dlls/ntdll/heap.c | 7 ++++++- dlls/ntdll/rtl.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index 7079054..80ddaf2 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -653,7 +653,11 @@ static BOOL HEAP_InitSubHeap( HEAP *heap, LPVOID address, DWORD flags, heap->critSection.SpinCount = 0; process_heap_critsect_debug.CriticalSection = &heap->critSection; } - else RtlInitializeCriticalSection( &heap->critSection ); + else + { + RtlInitializeCriticalSection( &heap->critSection ); + heap->critSection.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HEAP.critSection"); + } if (flags & HEAP_SHARED) { @@ -1128,6 +1132,7 @@ HANDLE WINAPI RtlDestroyHeap( HANDLE heap ) list_remove( &heapPtr->entry ); RtlLeaveCriticalSection( &processHeap->critSection ); + heapPtr->critSection.DebugInfo->Spare[0] = 0; RtlDeleteCriticalSection( &heapPtr->critSection ); subheap = &heapPtr->subheap; while (subheap) diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c index 7dd4003..f1b5c0d 100644 --- a/dlls/ntdll/rtl.c +++ b/dlls/ntdll/rtl.c @@ -118,6 +118,7 @@ void WINAPI RtlInitializeResource(LPRTL_RWLOCK rwl) rwl->hOwningThreadId = 0; rwl->dwTimeoutBoost = 0; /* no info on this one, default value is 0 */ RtlInitializeCriticalSection( &rwl->rtlCS ); + rwl->rtlCS.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": RTL_RWLOCK.rtlCS"); NtCreateSemaphore( &rwl->hExclusiveReleaseSemaphore, SEMAPHORE_ALL_ACCESS, NULL, 0, 65535 ); NtCreateSemaphore( &rwl->hSharedReleaseSemaphore, SEMAPHORE_ALL_ACCESS, NULL, 0, 65535 ); } @@ -140,6 +141,7 @@ void WINAPI RtlDeleteResource(LPRTL_RWLOCK rwl) NtClose( rwl->hExclusiveReleaseSemaphore ); NtClose( rwl->hSharedReleaseSemaphore ); RtlLeaveCriticalSection( &rwl->rtlCS ); + rwl->rtlCS.DebugInfo->Spare[0] = 0; RtlDeleteCriticalSection( &rwl->rtlCS ); } }
1
0
0
0
Jan Zerebecki : msvcrt: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: 3b32ae2a54dd099793a73e98ed3a0e4ec57d0ede URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3b32ae2a54dd099793a73e98e…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:09:17 2007 +0100 msvcrt: Add DebugInfo to critical sections. --- dlls/msvcrt/file.c | 2 ++ dlls/msvcrt/lock.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index 2a44e6d..fa93204 100644 --- a/dlls/msvcrt/file.c +++ b/dlls/msvcrt/file.c @@ -328,6 +328,7 @@ void msvcrt_init_io(void) int i; InitializeCriticalSection(&MSVCRT_file_cs); + MSVCRT_file_cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": MSVCRT_file_cs"); GetStartupInfoA(&si); if (si.cbReserved2 != 0 && si.lpReserved2 != NULL) { @@ -796,6 +797,7 @@ void msvcrt_free_io(void) MSVCRT_fclose(&MSVCRT__iob[0]); MSVCRT_fclose(&MSVCRT__iob[1]); MSVCRT_fclose(&MSVCRT__iob[2]); + MSVCRT_file_cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&MSVCRT_file_cs); } diff --git a/dlls/msvcrt/lock.c b/dlls/msvcrt/lock.c index 8b2090f..a273fe1 100644 --- a/dlls/msvcrt/lock.c +++ b/dlls/msvcrt/lock.c @@ -42,11 +42,13 @@ static inline void msvcrt_mlock_set_entry_initialized( int locknum, BOOL initial static inline void msvcrt_initialize_mlock( int locknum ) { InitializeCriticalSection( &(lock_table[ locknum ].crit) ); + lock_table[ locknum ].crit.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": LOCKTABLEENTRY.crit"); msvcrt_mlock_set_entry_initialized( locknum, TRUE ); } static inline void msvcrt_uninitialize_mlock( int locknum ) { + lock_table[ locknum ].crit.DebugInfo->Spare[0] = 0; DeleteCriticalSection( &(lock_table[ locknum ].crit) ); msvcrt_mlock_set_entry_initialized( locknum, FALSE ); } @@ -136,4 +138,3 @@ void CDECL _unlock( int locknum ) LeaveCriticalSection( &(lock_table[ locknum ].crit) ); } -
1
0
0
0
Jan Zerebecki : mapi32: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: b06c08530f2a44a842178015c42be8e9a17716b1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b06c08530f2a44a842178015c…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:08:59 2007 +0100 mapi32: Add DebugInfo to critical sections. --- dlls/mapi32/prop.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/mapi32/prop.c b/dlls/mapi32/prop.c index 4f01682..3c0bd83 100644 --- a/dlls/mapi32/prop.c +++ b/dlls/mapi32/prop.c @@ -1553,6 +1553,7 @@ static inline ULONG WINAPI IMAPIProp_fnRelease(LPMAPIPROP iface) This->lpFree(current->value); This->lpFree(current); } + This->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&This->cs); This->lpFree(This); } @@ -2543,6 +2544,7 @@ SCODE WINAPI CreateIProp(LPCIID iid, ALLOCATEBUFFER *lpAlloc, lpPropData->ulNumValues = 0; list_init(&lpPropData->values); InitializeCriticalSection(&lpPropData->cs); + lpPropData->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IPropDataImpl.cs"); *lppPropData = (LPPROPDATA)lpPropData; } return scode;
1
0
0
0
Jan Zerebecki : crypt32: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: e8956eb48b07a0b05f4cf2ebe89f58c7f90050d7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e8956eb48b07a0b05f4cf2ebe…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:08:02 2007 +0100 crypt32: Add DebugInfo to critical sections. --- dlls/crypt32/context.c | 2 ++ dlls/crypt32/oid.c | 6 ++++++ dlls/crypt32/proplist.c | 2 ++ dlls/crypt32/store.c | 4 ++++ 4 files changed, 14 insertions(+), 0 deletions(-) diff --git a/dlls/crypt32/context.c b/dlls/crypt32/context.c index 96e7198..ab57c57 100644 --- a/dlls/crypt32/context.c +++ b/dlls/crypt32/context.c @@ -192,6 +192,7 @@ struct ContextList *ContextList_Create( list->contextInterface = contextInterface; list->contextSize = contextSize; InitializeCriticalSection(&list->cs); + list->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": ContextList.cs"); list_init(&list->contexts); } return list; @@ -303,6 +304,7 @@ void ContextList_Empty(struct ContextList *list) void ContextList_Free(struct ContextList *list) { ContextList_Empty(list); + list->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&list->cs); CryptMemFree(list); } diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c index 20d3b5d..bbad491 100644 --- a/dlls/crypt32/oid.c +++ b/dlls/crypt32/oid.c @@ -75,6 +75,7 @@ struct OIDFunction static void init_function_sets(void) { InitializeCriticalSection(&funcSetCS); + funcSetCS.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": funcSetCS"); list_init(&funcSets); } @@ -95,9 +96,11 @@ static void free_function_sets(void) list_remove(&functionCursor->next); CryptMemFree(functionCursor); } + setCursor->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&setCursor->cs); CryptMemFree(setCursor); } + funcSetCS.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&funcSetCS); } @@ -130,6 +133,7 @@ HCRYPTOIDFUNCSET WINAPI CryptInitOIDFunctionSet(LPCSTR pszFuncName, if (ret->name) { InitializeCriticalSection(&ret->cs); + ret->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": OIDFunctionSet.cs"); list_init(&ret->functions); strcpy(ret->name, pszFuncName); list_add_tail(&funcSets, &ret->next); @@ -1178,6 +1182,7 @@ static void init_oid_info(HINSTANCE hinst) DWORD i; InitializeCriticalSection(&oidInfoCS); + oidInfoCS.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": oidInfoCS"); list_init(&oidInfo); for (i = 0; i < sizeof(oidInfoConstructors) / sizeof(oidInfoConstructors[0]); i++) @@ -1250,6 +1255,7 @@ static void free_oid_info(void) list_remove(&info->entry); CryptMemFree(info); } + oidInfoCS.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&oidInfoCS); } diff --git a/dlls/crypt32/proplist.c b/dlls/crypt32/proplist.c index e1d4998..31cd53b 100644 --- a/dlls/crypt32/proplist.c +++ b/dlls/crypt32/proplist.c @@ -47,6 +47,7 @@ PCONTEXT_PROPERTY_LIST ContextPropertyList_Create(void) if (list) { InitializeCriticalSection(&list->cs); + list->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": PCONTEXT_PROPERTY_LIST->cs"); list_init(&list->properties); } return list; @@ -63,6 +64,7 @@ void ContextPropertyList_Free(PCONTEXT_PROPERTY_LIST list) CryptMemFree(prop->pbData); CryptMemFree(prop); } + list->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&list->cs); CryptMemFree(list); } diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c index 8c8cda5..1447d37 100644 --- a/dlls/crypt32/store.c +++ b/dlls/crypt32/store.c @@ -370,6 +370,7 @@ static void WINAPI CRYPT_CollectionCloseStore(HCERTSTORE store, DWORD dwFlags) CertCloseStore((HCERTSTORE)entry->store, dwFlags); CryptMemFree(entry); } + cs->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&cs->cs); CryptMemFree(cs); } @@ -675,6 +676,7 @@ static WINECRYPT_CERTSTORE *CRYPT_CollectionOpenStore(HCRYPTPROV hCryptProv, store->hdr.crls.enumContext = CRYPT_CollectionEnumCRL; store->hdr.crls.deleteContext = CRYPT_CollectionDeleteCRL; InitializeCriticalSection(&store->cs); + store->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": PWINE_COLLECTIONSTORE->cs"); list_init(&store->stores); } } @@ -1225,6 +1227,7 @@ static void WINAPI CRYPT_RegCloseStore(HCERTSTORE hCertStore, DWORD dwFlags) CRYPT_RegFlushStore(store, FALSE); RegCloseKey(store->key); + store->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&store->cs); CryptMemFree(store); } @@ -1471,6 +1474,7 @@ static WINECRYPT_CERTSTORE *CRYPT_RegOpenStore(HCRYPTPROV hCryptProv, regInfo->memStore = memStore; regInfo->key = key; InitializeCriticalSection(®Info->cs); + regInfo->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": PWINE_REGSTOREINFO->cs"); list_init(®Info->certsToDelete); list_init(®Info->crlsToDelete); CRYPT_RegReadFromReg(regInfo);
1
0
0
0
Jan Zerebecki : itss: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: 373fcd00664b9b57ec787628746b9a2480fd892e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=373fcd00664b9b57ec7876287…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:08:38 2007 +0100 itss: Add DebugInfo to critical sections. --- dlls/itss/chm_lib.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dlls/itss/chm_lib.c b/dlls/itss/chm_lib.c index 074ca3d..c0f3699 100644 --- a/dlls/itss/chm_lib.c +++ b/dlls/itss/chm_lib.c @@ -705,8 +705,11 @@ struct chmFile *chm_openW(const WCHAR *filename) /* initialize mutexes, if needed */ InitializeCriticalSection(&newHandle->mutex); + newHandle->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": chmFile.mutex"); InitializeCriticalSection(&newHandle->lzx_mutex); + newHandle->lzx_mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": chmFile.lzx_mutex"); InitializeCriticalSection(&newHandle->cache_mutex); + newHandle->cache_mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": chmFile.cache_mutex"); /* read and verify header */ sremain = _CHM_ITSF_V3_LEN; @@ -826,8 +829,11 @@ void chm_close(struct chmFile *h) CHM_CLOSE_FILE(h->fd); h->fd = CHM_NULL_FD; + h->mutex.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&h->mutex); + h->lzx_mutex.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&h->lzx_mutex); + h->cache_mutex.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&h->cache_mutex); if (h->lzx_state)
1
0
0
0
Jan Zerebecki : kernel32: Add DebugInfo to critical sections.
by Alexandre Julliard
12 Mar '07
12 Mar '07
Module: wine Branch: master Commit: f7c4b25723189bfa032f472f04dfec4ea8c6690b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f7c4b25723189bfa032f472f0…
Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Sat Mar 10 22:08:48 2007 +0100 kernel32: Add DebugInfo to critical sections. --- dlls/kernel32/file.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c index f92d37a..71d5030 100644 --- a/dlls/kernel32/file.c +++ b/dlls/kernel32/file.c @@ -1671,6 +1671,7 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level, } RtlInitializeCriticalSection( &info->cs ); + info->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": FIND_FIRST_INFO.cs"); info->path = nt_name; info->magic = FIND_FIRST_MAGIC; info->data_pos = 0; @@ -1849,6 +1850,7 @@ BOOL WINAPI FindClose( HANDLE handle ) info->data_pos = 0; info->data_len = 0; RtlLeaveCriticalSection( &info->cs ); + info->cs.DebugInfo->Spare[0] = 0; RtlDeleteCriticalSection( &info->cs ); HeapFree( GetProcessHeap(), 0, info ); }
1
0
0
0
← Newer
1
...
51
52
53
54
55
56
57
...
85
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Results per page:
10
25
50
100
200