2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.


Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c5/tx1.c File Reference

Detailed Description

Thread example [Sec. 5.17.1].

Definition in file tx1.c.

Go to the source code of this file.


void * thread_func (void *arg)
int main (void)


long x = 0

Function Documentation

int main void   ) 

Definition at line 35 of file tx1.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_rv, pthread_create(), sleep(), thread_func(), and x.

void* thread_func void *  arg  )  [static]

Definition at line 27 of file tx1.c.

References sleep(), and x.

Referenced by main().

Variable Documentation

long x = 0 [static]

Definition at line 25 of file tx1.c.

Referenced by main(), and thread_func().

Generated on Fri Apr 23 10:57:08 2004 for AUP2 Example Source by doxygen 1.3.1