文件名称:threadsandprocesses
介绍说明--下载内容均来自于网络,请自行研究使用
// DLL example program (1) to demonstrate Thread Local Storage (TLS).
// This DLL implements the two classes CSetter and CGeneral
//
// CSetter is used to set up the static text string, delete it, change it and display
// its content.
//
// CGeneral can show the content.
//
// The point being made here is that the text string is, effectively, static writeable data.
// It is accessible by all classes implemented in the DLL.
//
// CSetter is the only class which sets the static data in this example but, in general,
// any class implemented in the DLL can change/delete/fetch the data
// through the pointer in thread local storage - it is a matter of application design.
//
//
// This DLL implements the two classes CSetter and CGeneral
//
// CSetter is used to set up the static text string, delete it, change it and display
// its content.
//
// CGeneral can show the content.
//
// The point being made here is that the text string is, effectively, static writeable data.
// It is accessible by all classes implemented in the DLL.
//
// CSetter is the only class which sets the static data in this example but, in general,
// any class implemented in the DLL can change/delete/fetch the data
// through the pointer in thread local storage - it is a matter of application design.
//
//
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 11912896threadsandprocesses.rar 列表 tls1\bld.inf tls1\tls1dll.cpp tls1\tls1dll.h tls1\tls1dll.mmp tls1\tls1dllarm.def tls1\tls1dllwins.def tls1\tls1exe.cpp tls1\tls1exe.mmp tls1 tls2\bld.inf tls2\tls2dll.cpp tls2\tls2dll.h tls2\tls2dll.mmp tls2\tls2dllarm.def tls2\tls2dllwins.def tls2\tls2exe.cpp tls2\tls2exe.mmp tls2