Wine, WineLib and "Programming Applications for Windows"





2.7.1. Chapter 12 - somelib

Last updated: 2001/1/18

Description

See the description of tlsdyn.

Wine tests

Winelib tests

2.7.2. Chapter 12 - tlsdyn

Last updated: 2001/3/1

Description

Illustrates the dynamic allocation of thread local storage. The tls proper is performed by the somelib library. The application creates five threads which each call a method in somelib. This method allocates some thread local storage for each thread.

Wine tests

Winelib tests

Tested API

2.7.3. Chapter 12 - tlsstat

Last updated: 2001/3/1

Description

This application demonstrates the use of statically allocated thread local storage. It displays a dialog box which allows you to start new threads. Each thread sleeps for some time and then displays how long it has been running. It knows how long it has been running by comparing the current time with its start time as stored in a thread local variable.

Wine tests

Winelib tests

Tested API

fgouget@free.fr This page is hosted for free by Free.fr