Opened 12 years ago

Closed 12 years ago

#709 deleted Bugs (None)

extern symbol _tss_cleanup_implemented?

Reported by: zhaozg Owned by: glassfordm
Milestone: Component: threads
Version: None Severity:
Keywords: Cc:


static compile and link threads modules in vc8.0, I 
get  LNK2019: extern _tss_cleanup_implemented void int 
__cdecl `anonymous namespace'::init_tss_data(void)" (?
init_tss_data@?A0xea3bb32a@@YAXXZ) be refrenced

Change History (2)

comment:1 Changed 12 years ago by zhaozg

Logged In: YES 

extern "C" void tss_cleanup_implemented(void)
	This function's sole purpose is to cause a link 
error in cases where
	automatic tss cleanup is not implemented by 
Boost.Threads as a
	reminder that user code is responsible for calling 
the necessary
	functions at the appropriate times (and for 
implementing an a
	tss_cleanup_implemented() function to eliminate the 
	missing symbol error).

	If Boost.Threads later implements automatic tss 
cleanup in cases
	where it currently doesn't (which is the plan), the 
	symbol error will warn the user that their custom 
solution is no
	longer needed and can be removed.

comment:2 Changed 12 years ago by zhaozg

Status: assignedclosed
Note: See TracTickets for help on using tickets.