Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.015 c
4-69068
Flash 5
2002-09-07 10:35
2002.10.21
Texnologia


3-68632
Leviathan
2002-09-27 12:30
2002.10.21
*.gdb


4-69093
Сергей01
2002-09-02 07:29
2002.10.21
Есть дву формы Как сделать так, чтобы они минимзрвлись раздельно?


4-69072
Mic_2000
2002-09-08 14:14
2002.10.21
RAS


1-68726
Saninsky
2002-10-10 19:48
2002.10.21
Запуск DOS приложений из Delphi




   Наверх