diff options
author | rpj <rpj> | 2005-05-24 07:01:52 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-05-24 07:01:52 +0000 |
commit | 610c2958a3bedd909ccab7971d1e67f6671512a1 (patch) | |
tree | 4c07bd7b9f7cd265254f591a06f1f98e1a87de93 | |
parent | 63e9469db39641c0c47cfc4e6843f13a74f63a13 (diff) |
''
-rw-r--r-- | README | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -415,10 +415,10 @@ Building the library as a statically linkable library ----------------------------------------------------- General: PTW32_STATIC_LIB must be defined for both the library build and the -application build. The following 'make' command lines will define this for the -static library builds. +application build. The makefiles supplied and used by the following 'make' +command lines will define this for you. -MSVC (creates pthreadVCnd.lib as a static link lib): +MSVC (creates pthreadVCn.lib as a static link lib): nmake clean VC-static @@ -428,7 +428,18 @@ MinGW32 (creates libpthreadGCn.a as a static link lib): make clean GC-static -Define PTW32_STATIC_LIB when building your application. +Define PTW32_STATIC_LIB when building your application. Also, your +application must call a two non-portable routines to initialise the +some state on startup and cleanup before exit. One other routine needs +to be called to cleanup after any Win32 threads have called POSIX API +routines. See README.NONPORTABLE or the html reference manual pages for +details on these routines: + +BOOL pthread_win32_process_attach_np (void); +BOOL pthread_win32_process_detach_np (void); +BOOL pthread_win32_thread_attach_np (void); // Currently a no-op +BOOL pthread_win32_thread_detach_np (void); + The tests makefiles have the same targets but only check that the static library is statically linkable. They don't run the full |