diff options
author | rpj <rpj> | 2004-05-17 01:38:02 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-05-17 01:38:02 +0000 |
commit | 771465fed0cf50ee2dd790723245fc091699c324 (patch) | |
tree | d8c18d095a33fe7c4564bd90c5f313bb9e4057dd /dll.c | |
parent | 8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff) |
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'dll.c')
-rw-r--r-- | dll.c | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -54,14 +54,9 @@ * Dear c++: Please don't mangle this name. -thanks */ extern "C" -#endif /* __cplusplus */ - -BOOL WINAPI -DllMain ( - HINSTANCE hinstDll, - DWORD fdwReason, - LPVOID lpvReserved -) +#endif /* __cplusplus */ + BOOL WINAPI +DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved) { BOOL result = PTW32_TRUE; @@ -69,26 +64,26 @@ DllMain ( { case DLL_PROCESS_ATTACH: - result = pthread_win32_process_attach_np(); + result = pthread_win32_process_attach_np (); break; case DLL_THREAD_ATTACH: /* * A thread is being created */ - result = pthread_win32_thread_attach_np(); + result = pthread_win32_thread_attach_np (); break; case DLL_THREAD_DETACH: /* * A thread is exiting cleanly */ - result = pthread_win32_thread_detach_np(); + result = pthread_win32_thread_detach_np (); break; case DLL_PROCESS_DETACH: - (void) pthread_win32_thread_detach_np(); - result = pthread_win32_process_detach_np(); + (void) pthread_win32_thread_detach_np (); + result = pthread_win32_process_detach_np (); break; } return (result); |