public
Fork of 10gen/mongo
Description: 10gen database
Homepage: http://www.10gen.com/wiki/db
Clone URL: git://github.com/tmm1/mongo.git
compile on windows
Dwight (author)
Mon Mar 24 09:11:07 -0700 2008
commit  c316b49774669ba42d28aa7319741a8400ebc8a1
tree    1d7f8f9fd4082cfc86f1a977959bc5637989cbc3
parent  e74876b16f4ba30953664c9be1b6e96c77eeacc9
...
21
22
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
25
26
...
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
0
@@ -21,6 +21,30 @@ using namespace boost::filesystem;
0
 
0
 using namespace std;
0
 
0
+#if defined(_WIN32)
0
+/* [dm] this being undefined without us adding it here means there is
0
+ no tss cleanup on windows for boost lib?
0
+ we don't care for now esp on windows only
0
+
0
+ the boost source says:
0
+
0
+ This function's sole purpose is to cause a link error in cases where
0
+ automatic tss cleanup is not implemented by Boost.Threads as a
0
+ reminder that user code is responsible for calling the necessary
0
+ functions at the appropriate times (and for implementing an a
0
+ tss_cleanup_implemented() function to eliminate the linker's
0
+ missing symbol error).
0
+
0
+ If Boost.Threads later implements automatic tss cleanup in cases
0
+ where it currently doesn't (which is the plan), the duplicate
0
+ symbol error will warn the user that their custom solution is no
0
+ longer needed and can be removed.
0
+*/
0
+extern "C" void tss_cleanup_implemented(void) {
0
+ cout << "tss_cleanup_implemented called" << endl;
0
+}
0
+#endif
0
+
0
 JavaJSImpl * JavaJS = 0;
0
 
0
 void myJNIClean( JNIEnv * env ){

Comments

    No one has commented yet.