class EL_NAMED_THREAD

(source code)

Description

Named thread

note
	description: "Named thread"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2018-09-20 11:35:15 GMT (Thursday 20th September 2018)"
	revision: "5"

class
	EL_NAMED_THREAD

feature -- Access

 	name: ZSTRING
 		do
 			Result := new_name (generator)
 		end

feature {NONE} -- Factory

	new_name (a_class_name: STRING): ZSTRING
		do
 			if a_class_name.starts_with (once "EL_") then
 				a_class_name.remove_head (3)
 			end
 			a_class_name.to_lower
 			Result := a_class_name
 			Result.replace_character ('_', ' ')
		end
end