Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.10.21;
Скачать: CL | DM;

Вниз

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 вся ветка

Текущий архив: 2002.10.21;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.012 c
1-68845
MetalFan
2002-10-08 15:52
2002.10.21
окно CPU


1-68693
Shadow
2002-10-09 14:26
2002.10.21
Замена кода нажатой клавишы.


3-68681
SunnyTm
2002-09-30 22:33
2002.10.21
Как поймать исключение по несоответствию маске в EditMask?


1-68735
zam2000
2002-10-10 15:25
2002.10.21
как загрузить в Richedit dos текст, чтобы осталась псевдографика


8-68877
ed_30
2002-06-21 11:15
2002.10.21
координаты точек пересечения фигур