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/tx2.c File Reference

Detailed Description

Thread example (pthread_join) [Sec. 5.17.2].

Definition in file tx2.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 36 of file tx2.c.

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

void* thread_func void *  arg  )  [static]

Definition at line 27 of file tx2.c.

References sleep(), and x.

Referenced by main().

Variable Documentation

long x = 0 [static]

Definition at line 25 of file tx2.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