Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2002.10.21;
Скачать: [xml.tar.bz2];

Вниз

DisableThreadLibraryCalls?   Найти похожие ветки 

 
Jokle   (2002-09-08 21:51) [0]

что делает и зачем нужна функция DisableThreadLibraryCalls ?


 
Ученик   (2002-09-08 22:37) [1]

Remarks
The DisableThreadLibraryCalls function lets a DLL disable the DLL_THREAD_ATTACH and DLL_THREAD_DETACH notification calls. This can be a useful optimization for multithreaded applications that have many DLLs, frequently create and delete threads, and whose DLLs do not need these thread-level notifications of attachment/detachment. A remote procedure call (RPC) server application is an example of such an application. In these sorts of applications, DLL initialization routines often remain in memory to service DLL_THREAD_ATTACH and DLL_THREAD_DETACH notifications. By disabling the notifications, the DLL initialization code is not paged in because a thread is created or deleted, thus reducing the size of the application"s working code set. To implement the optimization, modify a DLL"s DLL_PROCESS_ATTACH code to call DisableThreadLibraryCalls.




Страницы: 1 вся ветка

Форум: "WinAPI";
Текущий архив: 2002.10.21;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.54 MB
Время: 0.03 c
14-68955
iNew
2002-09-19 16:47
2002.10.21
Почему если файл заархивировать RAR и запаролить то этот


6-68888
cooler.com.ua
2002-08-18 01:17
2002.10.21
Сокеты в Delphi


14-68916
multik
2002-10-01 00:10
2002.10.21
диски охота


3-68661
саша
2002-09-27 14:44
2002.10.21
Пмогите с сортировкой.


4-69077
Eug201
2002-09-06 10:40
2002.10.21
Richedit (центрировать по вертикали)





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский