note
	description: "Control over thread execution."
	legal: "See notice at end of class."
	status: "See notice at end of class."
	date: "$Date: 2010-01-27 20:14:26 +0000 (Wed, 27 Jan 2010) $"
	revision: "$Revision: 82180 $"

class 
	THREAD_CONTROL

inherit
	THREAD_ENVIRONMENT

create 
	default_create

feature -- Synchronization

	join_all
			-- The calling thread waits for all other threads to terminate.
		external
			"C blocking use %"eif_threads.h%""
		alias
			"eif_thr_join_all"
		end

	yield
			-- The calling thread yields its execution in favor of another
			-- thread for an OS specific amount of time.
		external
			"C use %"eif_threads.h%""
		alias
			"eif_thr_yield"
		end
	
note
	copyright: "Copyright (c) 1984-2010, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		5949 Hollister Ave., Goleta, CA 93117 USA
		Telephone 805-685-1006, Fax 805-685-6869
		Website http://www.eiffel.com
		Customer support http://support.eiffel.com
	]"

end -- class THREAD_CONTROL

Generated by ISE EiffelStudio