
What you find in this directory
-------------------------------

Makefile:
	Instructive makefile for compiling threaded and non-threaded
	apps using the globus_common module. Depends on the
	environment variable GLOBUS_DEVELOPMENT_PATH. For instructions 
	on how to set this variable see makefile.

activation.c
	Showcases module activation and a few of the globus_libc
	function wrappers that are provided.
	
	Program is built by "make activation".

threads.c
	Showcases the portable globus thread API. The main program starts
	argv[1] threads and wait until they have completed. Showcases
	the use of mutex.

	Program is built by "make threads". Change
	GLOBUS_DEVELOPMENT_PATH to threaded first.
	


Exercises:

	1.	
	Look at activation.c: make it and try it out.

	2.
	Change GLOBUS_DEVELOPMENT_PATH to use a threaded flavor of the
	Globus libraries. Look at threads.c: make it and try it
	out. Start 8-20 threads.

	3.
 	Modify activate.c : create a thread that allocates a buffer,
	gets the hostname using this buffer, prints out the hostname
	and then signals to the main() process that it is done.








