Вниз
Скачать: 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.01 c
4-69078
Daken
2002-09-07 20:53
2002.10.21
Как на WinAPI создать ListView и TabControl


3-68644
Roma111
2002-09-30 13:56
2002.10.21
Проверка имени и пароля


4-69060
muslim
2002-09-06 18:39
2002.10.21
Программное нажатие


1-68683
AOKotlyarov
2002-10-09 14:13
2002.10.21
Как в StringGrid обработать сообщение на перемещение ScrollBox a


4-69054
@-leksey
2002-09-04 09:45
2002.10.21
Копирую TMetafile в буфер, а потом вставляю в CorelDraw. Проблема




   Наверх